Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Archive/Array/IndexedBySite.php')
-rw-r--r--core/Archive/Array/IndexedBySite.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Archive/Array/IndexedBySite.php b/core/Archive/Array/IndexedBySite.php
index 22cbd88dbd..a5d4cf6163 100644
--- a/core/Archive/Array/IndexedBySite.php
+++ b/core/Archive/Array/IndexedBySite.php
@@ -112,7 +112,7 @@ class Piwik_Archive_Array_IndexedBySite extends Piwik_Archive_Array
}
$archiveIds[] = $archive->getIdArchive();
}
- return implode(', ', $archiveIds);
+ return implode(', ', array_filter($archiveIds));
}
private function getNumericTableName()