From 6fb6fef00e177b834c6e44a695ce690af1d63c6e Mon Sep 17 00:00:00 2001 From: salam Date: Wed, 27 May 2026 10:35:51 +0200 Subject: [PATCH] wip --- app/Filament/Widgets/Data/LoadEvents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Filament/Widgets/Data/LoadEvents.php b/app/Filament/Widgets/Data/LoadEvents.php index 273e57c6..56fa4925 100644 --- a/app/Filament/Widgets/Data/LoadEvents.php +++ b/app/Filament/Widgets/Data/LoadEvents.php @@ -61,7 +61,7 @@ class LoadEvents */ $handicap_range = 0; $total_range = 0; - if ($similar_past_matches != 'none' && $res) { + if ($similar_past_matches != 'none' && isset($res)) { $res = StatisticFixtures::where('id', (int) $match_id)->first(); $exp_handicap = $res->exp_away - $res->exp_home;