diff options
author | Simon Rettberg | 2018-01-08 12:49:32 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-01-08 12:49:32 +0100 |
commit | aab6b6b40519bbbe907919c4e82ab49c76f83974 (patch) | |
tree | 0790a98ac99e89d3bd5915d66a19de75fdfcd218 /modules-available/statistics_reporting/inc/remotereport.inc.php | |
parent | [statistics_reporting] Query rewrite: Use iterative approach (diff) | |
download | slx-admin-aab6b6b40519bbbe907919c4e82ab49c76f83974.tar.gz slx-admin-aab6b6b40519bbbe907919c4e82ab49c76f83974.tar.xz slx-admin-aab6b6b40519bbbe907919c4e82ab49c76f83974.zip |
[statistics_reporting] Don't leak locationid in remote report
Diffstat (limited to 'modules-available/statistics_reporting/inc/remotereport.inc.php')
-rw-r--r-- | modules-available/statistics_reporting/inc/remotereport.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/statistics_reporting/inc/remotereport.inc.php b/modules-available/statistics_reporting/inc/remotereport.inc.php index 98af8888..fa84e7e5 100644 --- a/modules-available/statistics_reporting/inc/remotereport.inc.php +++ b/modules-available/statistics_reporting/inc/remotereport.inc.php @@ -83,7 +83,7 @@ class RemoteReport GetData::$from = $from; GetData::$to = $to; $data = array('total' => GetData::total(GETDATA_ANONYMOUS)); - $data['perLocation'] = GetData::perLocation(GETDATA_ANONYMOUS); + $data['perLocation'] = array_values(GetData::perLocation(GETDATA_ANONYMOUS)); $data['perVM'] = GetData::perVM(GETDATA_ANONYMOUS); $data['tsFrom'] = $from; $data['tsTo'] = $to; |