Browse code

Send notifications to active members regardless of login status

Benjamin Roth authored on11/12/2023 15:01:09
Showing1 changed files
... ...
@@ -77,7 +77,7 @@ class SendNewsNotificationJob
77 77
                         }
78 78
 
79 79
                         // Get group members
80
-                        $Members = MemberModel::findBy(array("`groups` LIKE '%\"".$Groups->id."\"%'","login='1' AND (start='' OR start<='$time') AND (stop='' OR stop>'" . ($time + 60) . "') AND disable=''"),null);
80
+                        $Members = MemberModel::findBy(array("`groups` LIKE '%\"".$Groups->id."\"%'","(start='' OR start<='$time') AND (stop='' OR stop>'" . ($time + 60) . "') AND disable=''"),null);
81 81
 
82 82
                         // Send notification to each member
83 83
                         if ($Members !== null)