// FO Optimization : remove useless Category instantiations
This commit is contained in:
@@ -888,7 +888,7 @@ class CategoryCore extends ObjectModel
|
|||||||
{
|
{
|
||||||
if (!$link)
|
if (!$link)
|
||||||
$link = Context::getContext()->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)
|
public function getName($id_lang = null)
|
||||||
|
|||||||
Reference in New Issue
Block a user