Fix: Bad param 'zone' into printCommon
This commit is contained in:
parent
35fbc9b066
commit
421c3fb35b
@ -791,8 +791,8 @@ class Form
|
||||
}
|
||||
|
||||
// Construct $out and $outarray
|
||||
$out.= '<select id="'.$htmlname.'" class="flat" name="'.$htmlname.'">';
|
||||
if ($showempty) $out.= '<option value="-1"></option>';
|
||||
$out.= '<select id="'.$htmlname.'" class="flat" name="'.$htmlname.'">'."\n";
|
||||
if ($showempty) $out.= '<option value="-1"></option>'."\n";
|
||||
$num = $this->db->num_rows($resql);
|
||||
$i = 0;
|
||||
if ($num)
|
||||
@ -821,9 +821,10 @@ class Form
|
||||
array_push($outarray, array('key'=>$obj->rowid, 'value'=>$obj->name, 'label'=>$obj->name));
|
||||
|
||||
$i++;
|
||||
if (($i % 10) == 0) $out.="\n";
|
||||
}
|
||||
}
|
||||
$out.= '</select>';
|
||||
$out.= '</select>'."\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user