mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
"fix for optgroup's, eg. used in addressbook now"
This commit is contained in:
parent
0ca42fe9ac
commit
3f3954440d
@ -1490,6 +1490,15 @@ foreach($sess as $key => $val)
|
||||
}
|
||||
if (!isset($GLOBALS['egw_info']['etemplate']['to_process'][$form_name]))
|
||||
{
|
||||
// fix for optgroup's
|
||||
foreach($sels as $key => $val)
|
||||
{
|
||||
if (is_array($val))
|
||||
{
|
||||
$sels += array_keys($val);
|
||||
unset($sels[$key]);
|
||||
}
|
||||
}
|
||||
$GLOBALS['egw_info']['etemplate']['to_process'][$form_name] = array(
|
||||
'type' => $cell['type'],
|
||||
'needed' => $cell['needed'],
|
||||
|
Loading…
Reference in New Issue
Block a user