forked from GNUsocial/gnu-social
Use array_merge instead of array_replace (same effect, and array_merge works with PHP versions < 5.3)
fixes http://status.net/open-source/issues/3393
This commit is contained in:
@@ -310,7 +310,7 @@ class StatusNet
|
||||
{
|
||||
global $config;
|
||||
$settings = SiteProfile::getSettings($name);
|
||||
$config = array_replace($config, $settings);
|
||||
$config = array_merge($config, $settings);
|
||||
}
|
||||
|
||||
protected function _sn_to_path($sn)
|
||||
|
Reference in New Issue
Block a user