From 93eaf722a1ae360c5302ec34dbaad64c1265f3f2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 3 Apr 2011 23:07:18 +0000 Subject: [PATCH] Fix: Missing include --- htdocs/core/class/html.form.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index c38edb71365..518d3a02308 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -708,7 +708,8 @@ class Form $i = 0; if ($num) { - $contactstatic=new Contact($this->db); + include_once(DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php'); + $contactstatic=new Contact($this->db); while ($i < $num) {