... | ... |
@@ -73,7 +73,7 @@ class SendNewsNotificationJob |
73 | 73 |
} |
74 | 74 |
|
75 | 75 |
// Get group members |
76 |
- $Members = MemberModel::findBy(array("groups LIKE '%\"".$Groups->id."\"%'","login='1' AND (start='' OR start<='$time') AND (stop='' OR stop>'" . ($time + 60) . "') AND disable=''"),null); |
|
76 |
+ $Members = MemberModel::findBy(array("`groups` LIKE '%\"".$Groups->id."\"%'","login='1' AND (start='' OR start<='$time') AND (stop='' OR stop>'" . ($time + 60) . "') AND disable=''"),null); |
|
77 | 77 |
|
78 | 78 |
// Send notification to each member |
79 | 79 |
if ($Members !== null) |