Fix: text for empty line not visible in select
This commit is contained in:
parent
f67937c59d
commit
c1f3f4c2b5
@ -2175,6 +2175,10 @@ class Form
|
|||||||
if ($showempty && ! is_numeric($showempty)) $textifempty=$langs->trans($showempty);
|
if ($showempty && ! is_numeric($showempty)) $textifempty=$langs->trans($showempty);
|
||||||
else $textifempty.=$langs->trans("All");
|
else $textifempty.=$langs->trans("All");
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ($showempty && ! is_numeric($showempty)) $textifempty=$langs->trans($showempty);
|
||||||
|
}
|
||||||
if ($showempty) $out.='<option value="0" selected>'.$textifempty.'</option>';
|
if ($showempty) $out.='<option value="0" selected>'.$textifempty.'</option>';
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user