This commit is contained in:
salam committed 2026-04-30 09:16:30 +02:00
1 parent 6e6a5150f4
commit 3351795115
1 file changed
+2 -4
+2 -4
View File
@@ -115,7 +115,7 @@ class LoadEvents
} }
} else { } else {
switch ($filter['statistic_type']) { switch ($statistic_type) {
case 'gls': case 'gls':
if ($team_id == $value['home_id']) { if ($team_id == $value['home_id']) {
$val = (int) $value['gls_a']; $val = (int) $value['gls_a'];
@@ -168,9 +168,7 @@ class LoadEvents
} }
} }
if (isset($val)) { $datasets[] = $val;
$datasets[] = $val;
}
} }
$data = [ $data = [