summaryrefslogtreecommitdiff
path: root/lib/mail.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-21 05:18:54 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-21 05:18:54 -0400
commit8bc9834854e4d8b038cd8fd39262f8bcf3c63757 (patch)
tree4ec009370a535dc7e3c1bdbb7f89b35e804c2c50 /lib/mail.php
parent289b64c94d7f477dc7939a616b51a9e2d350a885 (diff)
SQL error
darcs-hash:20080721091854-84dde-98b2bc313f23694a92c6f3ce92fd8f6beafe01fd.gz
Diffstat (limited to 'lib/mail.php')
-rw-r--r--lib/mail.php2
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();