From 7d93a2eed982948107d282a980a340fd10bfac7e Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 18 Jun 2011 06:28:32 +0000 Subject: [PATCH] Fix: function show_form enhancement --- htdocs/core/class/html.formmail.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php index bbef7fbd882..8e24402e51e 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -341,7 +341,7 @@ class FormMail $soc->fetch($this->toid); $out.= $soc->getNomUrl(1); } - if ($this->totype == 'contact') + else if ($this->totype == 'contact') { $contact=new Contact($this->db); $contact->fetch($this->toid);