selectMulticurrency avoid malformed empty value

This commit is contained in:
Frédéric FRANCE 2019-02-17 20:59:39 +01:00 committed by GitHub
parent c0b22e86c2
commit b017213131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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="">&nbsp;</option>';
// If company current currency not in table, we add it into list. Should always be available.
if (! in_array($conf->currency, $TCurrency))
{