mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Don't reset value to array index if it's already there
This commit is contained in:
parent
9af81df945
commit
52dbc208a6
@ -202,7 +202,7 @@ class etemplate_widget_menupopup extends etemplate_widget
|
||||
if(is_array($label))
|
||||
{
|
||||
self::fix_encoded_options($label, false);
|
||||
if ($use_array_of_objects) $label['value'] = $value;
|
||||
if ($use_array_of_objects && !array_key_exists('value', $label)) $label['value'] = $value;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user