"otherwise we get warnings during setup"

This commit is contained in:
Ralf Becker 2009-11-14 17:39:35 +00:00
parent fe41f199bc
commit 66c4b6c0cb

View File

@ -198,7 +198,7 @@ class preferences_hooks
'type' => 'multiselect',
'label' => 'Permanent time zone selection',
'name' => 'tz_selection',
'values' => call_user_func_array('array_merge',$tzs), // only flat arrays supported
'values' => $tzs ? call_user_func_array('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,