diff --git a/preferences/inc/class.preferences_hooks.inc.php b/preferences/inc/class.preferences_hooks.inc.php index 1dbb4884d0..9173fa1aff 100644 --- a/preferences/inc/class.preferences_hooks.inc.php +++ b/preferences/inc/class.preferences_hooks.inc.php @@ -325,7 +325,7 @@ class preferences_hooks 'type' => 'multiselect', 'label' => 'Permanent time zone selection', 'name' => 'tz_selection', - 'values' => $tzs ? call_user_func_array('array_merge',$tzs) : null, // only flat arrays supported + 'values' => $tzs ? array_merge(...$tzs) : null, // only flat arrays supported 'help' => 'Please select timezones, you want to be able to quickly switch between. Switch is NOT shown, if less then two are selected.', 'xmlrpc' => True, 'admin' => False,