From: Evan Prodromou Date: Sun, 20 Jul 2008 20:00:39 +0000 (-0400) Subject: bad string in SQL query X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bb366ab0b881f4e5c8534b5d1542fd550918f58a;p=quix0rs-gnu-social.git bad string in SQL query darcs-hash:20080720200039-84dde-62412804de2802de9f032bd4e00c8e32373d56a8.gz --- 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');