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:
authorThomas Steur <thomas.steur@gmail.com>2016-04-06 00:28:19 +0300
committerThomas Steur <thomas.steur@gmail.com>2016-04-06 00:28:19 +0300
commit2be3eb29c48748236411cf98979876a1dc54f03e (patch)
tree6b3d068010d072d16846a3695d2026eee19fca44 /core/CronArchive
parentc881db234a884f127e18dcafac84c9e6407fec17 (diff)
fix #10005 When forcing archiving on multiple sites, it silently fails if one site dont exist anymore
Diffstat (limited to 'core/CronArchive')
-rw-r--r--core/CronArchive/FixedSiteIds.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/CronArchive/FixedSiteIds.php b/core/CronArchive/FixedSiteIds.php
index 685d7ebe10..0ed7c997ce 100644
--- a/core/CronArchive/FixedSiteIds.php
+++ b/core/CronArchive/FixedSiteIds.php
@@ -17,7 +17,7 @@ class FixedSiteIds
public function __construct($websiteIds)
{
if (!empty($websiteIds)) {
- $this->siteIds = $websiteIds;
+ $this->siteIds = array_values($websiteIds);
}
}