From f9a24c53c08b8ea0bd39982b1928138fb5ea307a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 6 Jun 2018 18:20:31 +0200 Subject: [PATCH] Fix bug reported by scrutinizer --- htdocs/adherents/class/adherent.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/adherents/class/adherent.class.php b/htdocs/adherents/class/adherent.class.php index 9f9c7c2e931..fec649823f7 100644 --- a/htdocs/adherents/class/adherent.class.php +++ b/htdocs/adherents/class/adherent.class.php @@ -2568,7 +2568,7 @@ class Adherent extends CommonObject include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php'; $adherent = new Adherent($this->db); - $formmail=new FormMail($db); + $formmail = new FormMail($this->db); $i=0; $nbok = 0;