bad string in SQL query
darcs-hash:20080720200039-84dde-62412804de2802de9f032bd4e00c8e32373d56a8.gz
This commit is contained in:
parent
31765a1dec
commit
bb366ab0b8
@ -161,7 +161,7 @@ function mail_new_incoming_address() {
|
||||
function mail_broadcast_notice_sms($notice) {
|
||||
$user = new User();
|
||||
$user->smsnotify = 1;
|
||||
$user->whereAdd('EXISTS (select subscriber from subscriptions where '
|
||||
$user->whereAdd('EXISTS (select subscriber from subscriptions where ' .
|
||||
' subscriber = user.id and subscribed = ' . $notice->profile_id);
|
||||
$user->whereAdd('sms is not null');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user