... | ... |
@@ -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) |