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:
authorStefan Giehl <stefan@matomo.org>2020-04-03 13:34:51 +0300
committerGitHub <noreply@github.com>2020-04-03 13:34:51 +0300
commit7c419625b024d1cb0682fa073a7a133e39f01bd7 (patch)
treea7b7e36150b5530bedf3551a9d4a5750c3861102 /plugins/CoreAdminHome
parent5601d4363749d9576f75b5925470eb64b81d0040 (diff)
Fix parameter order of implode (#15775)
causing errors on PHP 7.4
Diffstat (limited to 'plugins/CoreAdminHome')
-rw-r--r--plugins/CoreAdminHome/Commands/InvalidateReportData.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreAdminHome/Commands/InvalidateReportData.php b/plugins/CoreAdminHome/Commands/InvalidateReportData.php
index 75878a48f1..2dd556fb04 100644
--- a/plugins/CoreAdminHome/Commands/InvalidateReportData.php
+++ b/plugins/CoreAdminHome/Commands/InvalidateReportData.php
@@ -113,7 +113,7 @@ class InvalidateReportData extends ConsoleCommand
foreach ($segments as $segment) {
$segmentStr = $segment ? $segment->getString() : '';
if ($dryRun) {
- $dateRangeStr = implode($dateRanges, ';');
+ $dateRangeStr = implode(';', $dateRanges);
$output->writeln("Invalidating range periods overlapping $dateRangeStr [segment = $segmentStr]...");
} else {
$invalidator->markArchivesOverlappingRangeAsInvalidated($sites, $rangeDates, $segment);