SQL error
darcs-hash:20080721091854-84dde-98b2bc313f23694a92c6f3ce92fd8f6beafe01fd.gz
This commit is contained in:
parent
289b64c94d
commit
8bc9834854
@ -164,7 +164,7 @@ function mail_broadcast_notice_sms($notice) {
|
||||
|
||||
$user->smsnotify = 1;
|
||||
$user->whereAdd('EXISTS (select subscriber from subscriptions where ' .
|
||||
' subscriber = user.id and subscribed = ' . $notice->profile_id);
|
||||
' subscriber = user.id and subscribed = ' . $notice->profile_id . ')');
|
||||
$user->whereAdd('sms is not null');
|
||||
|
||||
$cnt = $user->find();
|
||||
|
Loading…
Reference in New Issue
Block a user