diff --git a/app/Actions/Statistics/LoadEvents.php b/app/Actions/Statistics/LoadEvents.php index adb3ea70..1584fee5 100644 --- a/app/Actions/Statistics/LoadEvents.php +++ b/app/Actions/Statistics/LoadEvents.php @@ -168,7 +168,9 @@ class LoadEvents } } - $datasets[] = $val; + if ($val) { + $datasets[] = $val; + } } $data = [