summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/pages
diff options
context:
space:
mode:
authorSimon Rettberg2024-01-17 11:32:37 +0100
committerSimon Rettberg2024-01-17 11:32:37 +0100
commit3157b9ee87cffa4f934e8a57c5d9d07af002f0a3 (patch)
tree44f12b44a88440350cfbd672c96490a8551fbbc5 /modules-available/statistics/pages
parent[vmstore] Restore warning on unconfigured vmstore (diff)
downloadslx-admin-3157b9ee87cffa4f934e8a57c5d9d07af002f0a3.tar.gz
slx-admin-3157b9ee87cffa4f934e8a57c5d9d07af002f0a3.tar.xz
slx-admin-3157b9ee87cffa4f934e8a57c5d9d07af002f0a3.zip
Fix type errors
Diffstat (limited to 'modules-available/statistics/pages')
-rw-r--r--modules-available/statistics/pages/summary.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/statistics/pages/summary.inc.php b/modules-available/statistics/pages/summary.inc.php
index e9c25456..905f5d90 100644
--- a/modules-available/statistics/pages/summary.inc.php
+++ b/modules-available/statistics/pages/summary.inc.php
@@ -119,7 +119,7 @@ class SubPage
++$sum;
}
}
- if (!empty($points1) && max(...$points1) > 0) {
+ if (!empty($points1) && max($points1) > 0) {
$labels = array_reverse($labels);
$points1 = array_reverse($points1);
$points2 = array_reverse($points2);