Fix: Bad url
This commit is contained in:
parent
418acdee57
commit
cd261567ef
@ -330,7 +330,7 @@ class EcmDirectory // extends CommonObject
|
|||||||
require_once(DOL_DOCUMENT_ROOT."/core/lib/files.lib.php");
|
require_once(DOL_DOCUMENT_ROOT."/core/lib/files.lib.php");
|
||||||
|
|
||||||
$error=0;
|
$error=0;
|
||||||
|
|
||||||
$relativepath=$this->getRelativePath(1); // Ex: dir1/dir2/dir3
|
$relativepath=$this->getRelativePath(1); // Ex: dir1/dir2/dir3
|
||||||
|
|
||||||
dol_syslog("EcmDirectories::delete remove directory ".$relativepath);
|
dol_syslog("EcmDirectories::delete remove directory ".$relativepath);
|
||||||
@ -424,7 +424,7 @@ class EcmDirectory // extends CommonObject
|
|||||||
$newref=$this->ref;
|
$newref=$this->ref;
|
||||||
$newlabel=$langs->trans("ShowECMSection").': '.$newref;
|
$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 && $withpicto != 2) $result.=' ';
|
||||||
if ($withpicto != 2) $result.=$lien.($max?dol_trunc($newref,$max,'middle'):$newref).$lienfin;
|
if ($withpicto != 2) $result.=$lien.($max?dol_trunc($newref,$max,'middle'):$newref).$lienfin;
|
||||||
return $result;
|
return $result;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user