Fix: Bad url

This commit is contained in:
Laurent Destailleur 2011-12-21 20:31:24 +01:00
parent 4222f67acb
commit ae7e5837bc

View File

@ -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;