This commit is contained in:
salam committed 2026-02-24 18:29:44 +01:00
1 parent a6ef8e74cc
commit 00e045bbaf
1 file changed
+2 -2
@@ -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 {