From cf21b32eb1e953448341a4696f27bf8f46f57545 Mon Sep 17 00:00:00 2001 From: fhenry Date: Sat, 16 Mar 2013 09:46:34 +0100 Subject: [PATCH] task #768 --- htdocs/core/class/html.formmail.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php index 656679a66f0..37ad8a6384c 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -76,9 +76,7 @@ class FormMail * @param DoliDB $db Database handler */ function __construct($db) - { - global $conf; - + { $this->db = $db; $this->withform=1;