]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
bad string in SQL query
authorEvan Prodromou <evan@prodromou.name>
Sun, 20 Jul 2008 20:00:39 +0000 (16:00 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sun, 20 Jul 2008 20:00:39 +0000 (16:00 -0400)
darcs-hash:20080720200039-84dde-62412804de2802de9f032bd4e00c8e32373d56a8.gz

lib/mail.php

index c229414b077ff44a8159a0970a4e2b4c028858a7..165b28b6a6aa2ff6bf9a4a9f8c2b2cb1764e7e25 100644 (file)
@@ -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');