From 3157b9ee87cffa4f934e8a57c5d9d07af002f0a3 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 17 Jan 2024 11:32:37 +0100 Subject: Fix type errors --- modules-available/statistics/pages/summary.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules-available/statistics/pages') 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); -- cgit v1.2.3-55-g7522