mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
spread operator does not take care of it automatic, have to use array_values to get ride of string keys
This commit is contained in:
parent
94e0a536a4
commit
909b59320d
@ -325,7 +325,7 @@ class preferences_hooks
|
|||||||
'type' => 'multiselect',
|
'type' => 'multiselect',
|
||||||
'label' => 'Permanent time zone selection',
|
'label' => 'Permanent time zone selection',
|
||||||
'name' => 'tz_selection',
|
'name' => 'tz_selection',
|
||||||
'values' => $tzs ? array_merge(...$tzs) : null, // only flat arrays supported
|
'values' => $tzs ? array_merge(...array_values($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.',
|
'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,
|
'xmlrpc' => True,
|
||||||
'admin' => False,
|
'admin' => False,
|
||||||
|
Loading…
Reference in New Issue
Block a user