From 3127d66b17585da9dede01efb2074ad22573914a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 3 Jun 2013 19:46:43 +0200 Subject: [PATCH] Fix: Regression --- 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 f00843f9af1..37ad8a6384c 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -596,7 +596,7 @@ class FormMail if (!empty($conf->global->FCKEDITOR_ENABLE_MAIL)) { $this->withfckeditor=1; } - $doleditor=new DolEditor('message',nl2br($defaultmessage),'',280,$this->ckeditortoolbar,'In',true,true,$this->withfckeditor,8,72); + $doleditor=new DolEditor('message',$defaultmessage,'',280,$this->ckeditortoolbar,'In',true,true,$this->withfckeditor,8,72); $out.= $doleditor->Create(1); } $out.= "\n";