diff options
author | Udo Walter | 2017-01-31 12:32:21 +0100 |
---|---|---|
committer | Udo Walter | 2017-01-31 12:32:21 +0100 |
commit | cb13c655c5394a3226fc355497af9907b1e84b83 (patch) | |
tree | 8e31b975e96af1c0a0bc7be055d95844cb2139b5 /modules-available/statistics_reporting | |
parent | [statistics_reporting] Overhaul remote reporting structure; default to off (diff) | |
download | slx-admin-cb13c655c5394a3226fc355497af9907b1e84b83.tar.gz slx-admin-cb13c655c5394a3226fc355497af9907b1e84b83.tar.xz slx-admin-cb13c655c5394a3226fc355497af9907b1e84b83.zip |
[statistics_reporting] fixed total showing wrong median and offline time
Diffstat (limited to 'modules-available/statistics_reporting')
-rw-r--r-- | modules-available/statistics_reporting/inc/getdata.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/statistics_reporting/inc/getdata.inc.php b/modules-available/statistics_reporting/inc/getdata.inc.php index b0a3171f..1a3c81dc 100644 --- a/modules-available/statistics_reporting/inc/getdata.inc.php +++ b/modules-available/statistics_reporting/inc/getdata.inc.php @@ -22,8 +22,8 @@ class GetData if (!$anonymize) { $data["time"] = self::formatSeconds($data["time"]); - $data["medianTime"] = self::formatSeconds($data["time"]); - $data["totalOfftime"] = self::formatSeconds($data["time"]); + $data["medianTime"] = self::formatSeconds($data["medianTime"]); + $data["totalOfftime"] = self::formatSeconds($data["totalOfftime"]); } return $data; |