diff --git a/classes/Category.php b/classes/Category.php index 7672383e9..c87b33543 100644 --- a/classes/Category.php +++ b/classes/Category.php @@ -888,7 +888,7 @@ class CategoryCore extends ObjectModel { if (!$link) $link = Context::getContext()->link; - return $link->getCategoryLink($this->id, $this->link_rewrite); + return $link->getCategoryLink($this, $this->link_rewrite); } public function getName($id_lang = null)