Fix: Sql error
This commit is contained in:
parent
04dc1ff63e
commit
30cdb4b455
@ -164,7 +164,7 @@ class FormOther
|
|||||||
$sql.= " WHERE e.active = 1 AND e.fk_pays = p.rowid";
|
$sql.= " WHERE e.active = 1 AND e.fk_pays = p.rowid";
|
||||||
$sql.= " ORDER BY pays, e.organization ASC, e.code ASC";
|
$sql.= " ORDER BY pays, e.organization ASC, e.code ASC";
|
||||||
|
|
||||||
$resql=$db->query($sql);
|
$resql=$this->db->query($sql);
|
||||||
if ($resql)
|
if ($resql)
|
||||||
{
|
{
|
||||||
print '<select class="flat" name="'.$htmlname.'">';
|
print '<select class="flat" name="'.$htmlname.'">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user