summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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');