reverted commit by Klaus, to fix problem reported by Uwe on the German list (options with numeric values (indexes) get renumbered)

This commit is contained in:
Ralf Becker 2008-03-20 12:32:34 +00:00
parent 0544890713
commit 80385db75c

View File

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