don't send smses to sender
This commit is contained in:
parent
4ec1c33307
commit
2c81d8db76
@ -335,6 +335,7 @@ function mail_broadcast_notice_sms($notice)
|
|||||||
"FROM $UT JOIN subscription " .
|
"FROM $UT JOIN subscription " .
|
||||||
"ON $UT.id = subscription.subscriber " .
|
"ON $UT.id = subscription.subscriber " .
|
||||||
'WHERE subscription.subscribed = ' . $notice->profile_id . ' ' .
|
'WHERE subscription.subscribed = ' . $notice->profile_id . ' ' .
|
||||||
|
'AND subscription.subscribed != subscription.subscriber ' .
|
||||||
"AND $UT.smsemail IS NOT null " .
|
"AND $UT.smsemail IS NOT null " .
|
||||||
"AND $UT.smsnotify = 1 " .
|
"AND $UT.smsnotify = 1 " .
|
||||||
'AND subscription.sms = 1 ');
|
'AND subscription.sms = 1 ');
|
||||||
|
Loading…
Reference in New Issue
Block a user