From 03a6bdde76dfacedc014204f579dd4c58a395d6b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 25 Nov 2011 18:49:59 +0100 Subject: [PATCH] Fix: Bad parameters --- htdocs/core/tpl/freeproductline_view.tpl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/tpl/freeproductline_view.tpl.php b/htdocs/core/tpl/freeproductline_view.tpl.php index 97db83bd121..d33808fc384 100644 --- a/htdocs/core/tpl/freeproductline_view.tpl.php +++ b/htdocs/core/tpl/freeproductline_view.tpl.php @@ -51,7 +51,7 @@ } else { - echo ($txt?' - ':'').dol_htmlentitiesbr($line->description,1,true); + echo ($txt?' - ':'').dol_htmlentitiesbr($line->description); } } } @@ -60,7 +60,7 @@ if (! empty($line->fk_parent_line)) echo img_picto('', 'rightarrow'); if ($type==1) $text = img_object($langs->trans('Service'),'service'); else $text = img_object($langs->trans('Product'),'product'); - echo $text.' '.dol_htmlentitiesbr($line->description,1,true); + echo $text.' '.dol_htmlentitiesbr($line->description); // Show range print_date_range($line->date_start,$line->date_end); }