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:
authormattab <matthieu.aubry@gmail.com>2016-09-26 06:51:19 +0300
committermattab <matthieu.aubry@gmail.com>2016-09-26 06:51:19 +0300
commit14b9e8c838854cbea29260c627358075650904f4 (patch)
tree225951157ef3a7f91e2ca3014c9eb3595d40b006 /plugins/VisitsSummary
parentcb54b33367dcc0fd6fdd39ee5df7523ca82d3a12 (diff)
Fix WARNING: plugins/CoreHome/Columns/UserId.php(85): Warning - Invalid argument supplied for foreach()
Diffstat (limited to 'plugins/VisitsSummary')
-rw-r--r--plugins/VisitsSummary/Reports/Get.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/VisitsSummary/Reports/Get.php b/plugins/VisitsSummary/Reports/Get.php
index 4c197fc652..ba6d2e94ba 100644
--- a/plugins/VisitsSummary/Reports/Get.php
+++ b/plugins/VisitsSummary/Reports/Get.php
@@ -181,7 +181,7 @@ class Get extends \Piwik\Plugin\Report
}
$userId = new UserId();
- if ($userId->isUsedInAtLeastOneSite($currentIdSite, $currentPeriod, $currentDate)) {
+ if ($userId->isUsedInAtLeastOneSite(array($currentIdSite), $currentPeriod, $currentDate)) {
$view->config->addSparklineMetric(array('nb_users'), 30);
$view->config->addPlaceholder(31);
}