Fix: Do not use &nbsp as value of a list

This commit is contained in:
Laurent Destailleur 2014-09-04 19:27:59 +02:00
parent 73ad0f9302
commit a57e0d3505

View File

@ -3949,7 +3949,7 @@ class Form
if ($show_empty)
{
$out.='<option value="-1"'.($id==-1?' selected="selected"':'').'>&nbsp;</option>'."\n";
$out.='<option value="-1"'.($id==-1?' selected="selected"':'').'> </option>'."\n"; // Do not use &nbsp; here. It will show it when list is not ajaxed
}
if (is_array($array))