summaryrefslogtreecommitdiff
path: root/lib/mail.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-20 16:00:39 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-20 16:00:39 -0400
commitbb366ab0b881f4e5c8534b5d1542fd550918f58a (patch)
treeecf98a6ff0f817e5e0835b2e92d0fcd139d8fad5 /lib/mail.php
parent31765a1dec28e934248ac014b4fb02fcaf8b2a89 (diff)
bad string in SQL query
darcs-hash:20080720200039-84dde-62412804de2802de9f032bd4e00c8e32373d56a8.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 c229414b0..165b28b6a 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');