forked from extern/egroupware
second attempt to resolve > *Fatal error*: Unsupported operand types in
> */var/www/egroupware/preferences/inc/class.uisettings.inc.php* on line *532
This commit is contained in:
parent
1ab52586bd
commit
205e8dbce5
@ -529,7 +529,8 @@
|
|||||||
$extra = array('**NULL**' => lang('Users choice'));
|
$extra = array('**NULL**' => lang('Users choice'));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if ($extra) $values = $extra + $values;
|
#if ($extra) $values = $extra + $values;
|
||||||
|
if (is_array($extra)) $values = $extra + (is_array($values)?$values:array($values));
|
||||||
|
|
||||||
$select = html::select($GLOBALS['type'].'['.$name.']',$default,$values,true);
|
$select = html::select($GLOBALS['type'].'['.$name.']',$default,$values,true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user