Merge pull request #10624 from frederic34/patch-2

selectMulticurrency avoid malformed empty value
This commit is contained in:
Laurent Destailleur 2019-02-27 02:06:24 +01:00 committed by GitHub
commit 238894a7e4
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))
{