Fix: Correct height of empty line for thirdparties combo list.
This commit is contained in:
parent
562c47dd62
commit
a3bbf2aff9
@ -803,7 +803,11 @@ class Form
|
|||||||
|
|
||||||
// Construct $out and $outarray
|
// Construct $out and $outarray
|
||||||
$out.= '<select id="'.$htmlname.'" class="flat" name="'.$htmlname.'">'."\n";
|
$out.= '<select id="'.$htmlname.'" class="flat" name="'.$htmlname.'">'."\n";
|
||||||
if ($showempty) $out.= '<option value="-1"></option>'."\n";
|
|
||||||
|
$textifempty=' ';
|
||||||
|
if (! empty($conf->use_javascript_ajax) || $forcecombo) $textifempty=' ';
|
||||||
|
if ($showempty) $out.= '<option value="-1">'.$textifempty.'</option>'."\n";
|
||||||
|
|
||||||
$num = $this->db->num_rows($resql);
|
$num = $this->db->num_rows($resql);
|
||||||
$i = 0;
|
$i = 0;
|
||||||
if ($num)
|
if ($num)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user