From 1cd20e17579224f5120de7973780c02588f8cc66 Mon Sep 17 00:00:00 2001 From: Friendika Date: Fri, 26 Nov 2010 02:38:41 -0800 Subject: [PATCH] array_unique didn't have a second argument before PHP 5.2.9 --- include/notifier.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/notifier.php b/include/notifier.php index dd5853208a..aedc560b03 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -138,11 +138,11 @@ 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); - $deny = array_unique(array_merge($deny_people,$deny_groups),SORT_NUMERIC); + $recipients = array_unique(array_merge($recipients,$allow_people,$allow_groups)); + $deny = array_unique(array_merge($deny_people,$deny_groups)); $recipients = array_diff($recipients,$deny); $conversant_str = dbesc(implode(', ',$conversants));