From: Friendika Date: Fri, 26 Nov 2010 10:38:41 +0000 (-0800) Subject: array_unique didn't have a second argument before PHP 5.2.9 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1cd20e17579224f5120de7973780c02588f8cc66;p=friendica.git array_unique didn't have a second argument before PHP 5.2.9 --- 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));