From acb797a577036fc1c1d00677fc4f6c534e3280ee Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 30 Oct 2006 23:44:39 +0000 Subject: [PATCH] Fix: Corrige bug affiche note si fckeditor actif ou non --- htdocs/comm/action/fiche.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index 1c8e9ba8d26..d1255d6f2f9 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -747,7 +747,8 @@ if ($_GET["id"]) // Note print ''.$langs->trans("Note").''; - print nl2br(htmlentities($act->note)); + if ($conf->fckeditor->enabled) print nl2br($act->note); + else print nl2br(htmlentities($act->note)); print ''; print '';