We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit bb366ab0 authored by Evan Prodromou's avatar Evan Prodromou

bad string in SQL query

parent 31765a1d
......@@ -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');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment