From ae7e5837bc87f9f8a384c654af77fabdb5a1f6d3 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 21 Dec 2011 20:31:24 +0100 Subject: [PATCH] Fix: Bad url --- htdocs/ecm/class/ecmdirectory.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/ecm/class/ecmdirectory.class.php b/htdocs/ecm/class/ecmdirectory.class.php index 8c50ef2a108..3f324d09550 100644 --- a/htdocs/ecm/class/ecmdirectory.class.php +++ b/htdocs/ecm/class/ecmdirectory.class.php @@ -415,7 +415,7 @@ class EcmDirectory // extends CommonObject $newref=$this->ref; $newlabel=$langs->trans("ShowECMSection").': '.$newref; - if ($withpicto) $result.=($lien.img_object($newlabel,$picto,'',1).$lienfin); + if ($withpicto) $result.=($lien.img_object($newlabel,$picto).$lienfin); if ($withpicto && $withpicto != 2) $result.=' '; if ($withpicto != 2) $result.=$lien.($max?dol_trunc($newref,$max,'middle'):$newref).$lienfin; return $result;