From bb366ab0b881f4e5c8534b5d1542fd550918f58a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 20 Jul 2008 16:00:39 -0400 Subject: [PATCH] bad string in SQL query darcs-hash:20080720200039-84dde-62412804de2802de9f032bd4e00c8e32373d56a8.gz --- lib/mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mail.php b/lib/mail.php index c229414b07..165b28b6a6 100644 --- a/lib/mail.php +++ b/lib/mail.php @@ -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'); -- 2.39.5