diff --git a/app/Console/Commands/Services/Tasks/Notification/LoadAlarmEvents.php b/app/Console/Commands/Services/Tasks/Notification/LoadAlarmEvents.php index 6ef87100..16bca260 100644 --- a/app/Console/Commands/Services/Tasks/Notification/LoadAlarmEvents.php +++ b/app/Console/Commands/Services/Tasks/Notification/LoadAlarmEvents.php @@ -22,7 +22,7 @@ class LoadAlarmEvents foreach ($events as $event) { - foreach ($map[$user->sport_id] as $field) { + foreach ($map[$event->sport_id] as $field) { if ($event[$field] == $user->alarm_level_id) { if ($user->notify_by_system) { $alarms[$event->event_id][$user->user_id][$user->bookmaker_id]['system'][$field] = $event[$field];