diff --git a/modules/statistics/php/statistics_site.class.inc b/modules/statistics/php/statistics_site.class.inc index 5436fd18d08..17a43dfccb6 100644 --- a/modules/statistics/php/statistics_site.class.inc +++ b/modules/statistics/php/statistics_site.class.inc @@ -115,6 +115,7 @@ class Statistics_Site extends \NDB_Menu if (!empty($list_of_permitted_sites)) { $paramCenters = []; $centerIDs = []; + foreach ($list_of_permitted_sites as $key => $siteID) { $paramCenters[] = ":paramSiteID$key"; $centerIDs["paramSiteID$key"] = $siteID;