Minor BugFix : Wrong variable reference in getNomUrl
Display of Category Url was incompete due to reference to "$ref" instead of "$label"
This commit is contained in:
parent
b1b69336ae
commit
f3eec7582e
@ -1271,7 +1271,7 @@ class Categorie extends CommonObject
|
|||||||
|
|
||||||
if ($withpicto) $result.=($lien.img_object($label,$picto).$lienfin);
|
if ($withpicto) $result.=($lien.img_object($label,$picto).$lienfin);
|
||||||
if ($withpicto && $withpicto != 2) $result.=' ';
|
if ($withpicto && $withpicto != 2) $result.=' ';
|
||||||
if ($withpicto != 2) $result.=$lien.dol_trunc($this->ref,$maxlength).$lienfin;
|
if ($withpicto != 2) $result.=$lien.dol_trunc($this->label,$maxlength).$lienfin;
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user