fix alarm notify
This commit is contained in:
1 parent
3d3f248bec
commit
a704275791
1 file changed
+1
-1
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user