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:
authordiosmosis <benaka@piwik.pro>2015-03-28 09:48:13 +0300
committerdiosmosis <benaka@piwik.pro>2015-03-28 09:48:13 +0300
commiteb816e39e6bfd050f8bda3851bacb72f38a1ec61 (patch)
treef91a5a5787e4acbf776aa3711a4155d399cf6820 /plugins/CoreAdminHome/Tasks
parentf595087622b06707a67d761e07cf0147f0ace6b5 (diff)
Refs #7560, avoid array to string conversion notice in DistributedList & descendents. Throws exception instead so a stack trace can be found.
Diffstat (limited to 'plugins/CoreAdminHome/Tasks')
-rw-r--r--plugins/CoreAdminHome/Tasks/ArchivesToPurgeDistributedList.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreAdminHome/Tasks/ArchivesToPurgeDistributedList.php b/plugins/CoreAdminHome/Tasks/ArchivesToPurgeDistributedList.php
index 6d56286632..6a30d6348a 100644
--- a/plugins/CoreAdminHome/Tasks/ArchivesToPurgeDistributedList.php
+++ b/plugins/CoreAdminHome/Tasks/ArchivesToPurgeDistributedList.php
@@ -37,7 +37,7 @@ class ArchivesToPurgeDistributedList extends DistributedList
*/
public function setAll($yearMonths)
{
- $yearMonths = array_unique($yearMonths);
+ $yearMonths = array_unique($yearMonths, SORT_REGULAR);
parent::setAll($yearMonths);
}