diff options
author | diosmosis <benaka@piwik.pro> | 2015-03-28 09:48:13 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-03-28 09:48:13 +0300 |
commit | eb816e39e6bfd050f8bda3851bacb72f38a1ec61 (patch) | |
tree | f91a5a5787e4acbf776aa3711a4155d399cf6820 /plugins/CoreAdminHome/Tasks | |
parent | f595087622b06707a67d761e07cf0147f0ace6b5 (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.php | 2 |
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); } |