array_unique didn't have a second argument before PHP 5.2.9
This commit is contained in:
parent
e15b1a8755
commit
1cd20e1757
|
@ -138,11 +138,11 @@
|
||||||
|
|
||||||
logger('notifier: url_recipients' . print_r($url_recipients,true));
|
logger('notifier: url_recipients' . print_r($url_recipients,true));
|
||||||
|
|
||||||
$conversants = array_unique($conversants,SORT_NUMERIC);
|
$conversants = array_unique($conversants);
|
||||||
|
|
||||||
|
|
||||||
$recipients = array_unique(array_merge($recipients,$allow_people,$allow_groups),SORT_NUMERIC);
|
$recipients = array_unique(array_merge($recipients,$allow_people,$allow_groups));
|
||||||
$deny = array_unique(array_merge($deny_people,$deny_groups),SORT_NUMERIC);
|
$deny = array_unique(array_merge($deny_people,$deny_groups));
|
||||||
$recipients = array_diff($recipients,$deny);
|
$recipients = array_diff($recipients,$deny);
|
||||||
|
|
||||||
$conversant_str = dbesc(implode(', ',$conversants));
|
$conversant_str = dbesc(implode(', ',$conversants));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user