From 00e045bbafd41bc45a9ba401cf86d9f4e140c797 Mon Sep 17 00:00:00 2001 From: salam Date: Tue, 24 Feb 2026 18:29:44 +0100 Subject: [PATCH] wip --- app/Console/Commands/Services/Tasks/Alarm/AlarmStore.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/Services/Tasks/Alarm/AlarmStore.php b/app/Console/Commands/Services/Tasks/Alarm/AlarmStore.php index 48a58566..0b0e9c55 100644 --- a/app/Console/Commands/Services/Tasks/Alarm/AlarmStore.php +++ b/app/Console/Commands/Services/Tasks/Alarm/AlarmStore.php @@ -29,11 +29,11 @@ class AlarmStore $threshold = $client_odds[$oddname] - $compare_odds[$oddname]; if (in_array($table, ['odds_totals', 'odds_totals_ht', 'odds_totals_q1'])) { - if ($client_odds['total'] = (float) $compare_odds['total']) { + if ($client_odds['total'] == (float) $compare_odds['total']) { self::setAlarm($update_array, $fieldname, $threshold, $alarm_threshold); } } elseif (in_array($table, ['odds_points', 'odds_points_ht', 'odds_points_q1'])) { - if ($client_odds['handicap'] = (float) $compare_odds['handicap']) { + if ($client_odds['handicap'] == (float) $compare_odds['handicap']) { self::setAlarm($update_array, $fieldname, $threshold, $alarm_threshold); } } else {