"fixed (new multiple) selection preference: array_merge caused a renumbering of the numeric indices, which messed up the prefs"

This commit is contained in:
Ralf Becker 2007-10-15 16:45:22 +00:00
parent a840dd6d45
commit e3a1390b6c

View File

@ -532,7 +532,7 @@
$extra = array('**NULL**' => lang('Users choice'));
break;
}
if ($extra) $values = array_merge($extra,$values);
if ($extra) $values = $extra + $values;
$select = $html->select($GLOBALS['type'].'['.$name.']',$default,$values,true);
}