From 30cdb4b45591029db60e9e9baa22206fc4f96e6a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 17 Aug 2010 00:03:17 +0000 Subject: [PATCH] Fix: Sql error --- htdocs/core/class/html.formother.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php index 10b6d500e3b..408867e75b3 100644 --- a/htdocs/core/class/html.formother.class.php +++ b/htdocs/core/class/html.formother.class.php @@ -164,7 +164,7 @@ class FormOther $sql.= " WHERE e.active = 1 AND e.fk_pays = p.rowid"; $sql.= " ORDER BY pays, e.organization ASC, e.code ASC"; - $resql=$db->query($sql); + $resql=$this->db->query($sql); if ($resql) { print '