From db94860f76003ba8a5a04923b1f4028b7e830402 Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Wed, 11 Feb 2015 11:47:12 +0100 Subject: [PATCH] syntax --- 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 2c7cc0be7fe..d4d4dcd3bb1 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -618,14 +618,12 @@ class FormMail $defaultmessage = dol_nl2br($defaultmessage); } - if (dol_textishtml($defaultmessage) && $from_template) { + if (dol_textishtml($defaultmessage) && $from_template) { $allow_content=1; - var_dump($allow_content); } else { $allow_content=0; } - if (isset($_POST["message"])) $defaultmessage=$_POST["message"]; else {