diff options
Diffstat (limited to 'lib/mail.php')
-rw-r--r-- | lib/mail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mail.php b/lib/mail.php index 8c5c7cf3d..c9c59db35 100644 --- a/lib/mail.php +++ b/lib/mail.php @@ -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(); |