From 07e4a75ec34a509c463665f13c69d3643c589f89 Mon Sep 17 00:00:00 2001 From: salam Date: Wed, 27 May 2026 10:34: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 5578ac71..273e57c6 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') { + if ($similar_past_matches != 'none' && $res) { $res = StatisticFixtures::where('id', (int) $match_id)->first(); $exp_handicap = $res->exp_away - $res->exp_home;