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:
Diffstat (limited to 'plugins/MultiSites/API.php')
-rwxr-xr-xplugins/MultiSites/API.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MultiSites/API.php b/plugins/MultiSites/API.php
index bf4250ff0e..e9984b99aa 100755
--- a/plugins/MultiSites/API.php
+++ b/plugins/MultiSites/API.php
@@ -233,9 +233,9 @@ class Piwik_MultiSites_API
// data for the last period to show the evolution of visits/actions/revenue
list($strLastDate, $lastPeriod) = Piwik_Period_Range::getLastDate($date, $period);
if (
- false &&
-
- $strLastDate !== false) {
+ // FIXMEA broken without this false
+ false
+ && $strLastDate !== false) {
if ($lastPeriod !== false) {
// NOTE: no easy way to set last period date metadata when range of dates is requested.
// will be easier if DataTable_Array::metadata is removed, and metadata that is