forked from extern/egroupware
"fixing an old php5 fix, which caused extra-labels to have key 0 instead of '', which caused eg. InfoLog to require two clicks to close an entry (only after called the first time after login)"
This commit is contained in:
parent
5548c8b038
commit
20b4f9b77d
@ -258,7 +258,7 @@ class uiaccountsel extends accounts
|
||||
if ($extra_label)
|
||||
{
|
||||
//in php5 this put's the extra-label at the end: $select = array($extra_label) + $select;
|
||||
$select2 = array($extra_label);
|
||||
$select2 = array('' => $extra_label);
|
||||
$select2 += $select;
|
||||
$select =& $select2; unset($select2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user