From 6aaac6b03d4f748fab6a219def4668ae3293fae6 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 14 Aug 2010 16:38:38 +0000 Subject: [PATCH] Fix: call db problem --- htdocs/core/class/html.form.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index d3800aceb76..6c5fe327517 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -1309,7 +1309,7 @@ class Form $sql .= " ORDER BY a.label ASC"; dol_syslog("Form::select_address sql=".$sql); - $resql=$db->query($sql); + $resql=$this->db->query($sql); if ($resql) { print '