replacing the concatenation of extra and value array by array_merge, since it crashed in line 535 in some installations

This commit is contained in:
Klaus Leithoff 2008-03-05 09:53:44 +00:00
parent c1647bfcbf
commit 627aa2c228

View File

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