This commit is contained in:
salam committed 2026-06-15 14:35:25 +02:00
1 parent 2bb0915fce
commit 8e0671b4c5
1 file changed
+2 -1
+2 -1
View File
@@ -138,7 +138,8 @@ class StatsMedianAverage extends StatsOverviewWidget
return round(($arr[$m1] + $arr[$m2]) / 2, 2);
} else {
// odd (add 1 because array starts with 0)
$m = ($size - 1) / 2;
$m = ceil(($size) / 2);
// dd('UNGERADE', $m, $arr, $arr[$m]);
return $arr[$m];
}