diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2016-04-06 00:28:19 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2016-04-06 00:28:19 +0300 |
commit | 2be3eb29c48748236411cf98979876a1dc54f03e (patch) | |
tree | 6b3d068010d072d16846a3695d2026eee19fca44 /core/CronArchive | |
parent | c881db234a884f127e18dcafac84c9e6407fec17 (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.php | 2 |
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); } } |