Merge pull request #10624 from frederic34/patch-2
selectMulticurrency avoid malformed empty value
This commit is contained in:
commit
238894a7e4
@ -4517,7 +4517,7 @@ class Form
|
||||
|
||||
$out='';
|
||||
$out.= '<select class="flat" name="'.$htmlname.'" id="'.$htmlname.'">';
|
||||
if ($useempty) $out .= '<option value=""></option>';
|
||||
if ($useempty) $out .= '<option value=""> </option>';
|
||||
// If company current currency not in table, we add it into list. Should always be available.
|
||||
if (! in_array($conf->currency, $TCurrency))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user