From 0fedb7ae4071cb6226596f9c547e89bdb52b29fe Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Wed, 14 Mar 2012 14:17:46 +0000 Subject: [PATCH] // FO Optimization : remove useless Category instantiations --- classes/Category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)