diff options
author | mattab <matthieu.aubry@gmail.com> | 2016-09-26 06:51:19 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2016-09-26 06:51:19 +0300 |
commit | 14b9e8c838854cbea29260c627358075650904f4 (patch) | |
tree | 225951157ef3a7f91e2ca3014c9eb3595d40b006 /plugins/VisitsSummary/Reports/Get.php | |
parent | cb54b33367dcc0fd6fdd39ee5df7523ca82d3a12 (diff) |
Fix WARNING: plugins/CoreHome/Columns/UserId.php(85): Warning - Invalid argument supplied for foreach()
Diffstat (limited to 'plugins/VisitsSummary/Reports/Get.php')
-rw-r--r-- | plugins/VisitsSummary/Reports/Get.php | 2 |
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); } |