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:
BadPixxel 2014-09-30 16:00:04 +02:00
parent b1b69336ae
commit f3eec7582e

View File

@ -1271,7 +1271,7 @@ class Categorie extends CommonObject
if ($withpicto) $result.=($lien.img_object($label,$picto).$lienfin);
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;
}