From e6ff4ff887ff1f77666a937f71f08bb6651d54d1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 6 Dec 2008 22:38:51 +0000 Subject: [PATCH] Fix: Restore status picto on boxes. --- htdocs/includes/boxes/modules_boxes.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/htdocs/includes/boxes/modules_boxes.php b/htdocs/includes/boxes/modules_boxes.php index 12e6598bad7..7354a00d8df 100644 --- a/htdocs/includes/boxes/modules_boxes.php +++ b/htdocs/includes/boxes/modules_boxes.php @@ -209,11 +209,14 @@ class ModeleBoxes if (isset($contents[$i][$j]['maxlength'])) $maxlength=$contents[$i][$j]['maxlength']; if ($maxlength) $textewithnotags=dolibarr_trunc($textewithnotags,$maxlength); - print $textewithnotags; - - //print $texte; + if (eregi('^'; - print $texte2withnotags; + + if (eregi('^"; }