Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
selectMulticurrency avoid malformed empty value
  • Loading branch information
frederic34 committed Feb 17, 2019
1 parent c0b22e8 commit b017213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/class/html.form.class.php
Expand Up @@ -4517,7 +4517,7 @@ function selectMultiCurrency($selected='', $htmlname='multicurrency_code', $usee

$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))
{
Expand Down

0 comments on commit b017213

Please sign in to comment.