From: Evan Prodromou Date: Wed, 20 Jul 2011 15:42:17 +0000 (-0400) Subject: change array add to array merge X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e07620a0aa689dbb0589427bfb56f9d0be38a283;p=quix0rs-gnu-social.git change array add to array merge --- diff --git a/classes/Notice.php b/classes/Notice.php index 4ee003c48a..426065ac90 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -275,7 +275,7 @@ class Notice extends Memcached_DataObject 'distribute' => true); if (!empty($options)) { - $options = $options + $defaults; + $options = array_merge($options, $defaults); extract($options); } else { extract($defaults);