From 23a225bf971a72064e46332a0320789e93cb69b9 Mon Sep 17 00:00:00 2001 From: rGaillard Date: Wed, 26 Sep 2012 12:25:59 +0000 Subject: [PATCH] // Fix #PSCFV-4384 --- classes/Category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Category.php b/classes/Category.php index db4570741..5f8f0dc15 100644 --- a/classes/Category.php +++ b/classes/Category.php @@ -943,7 +943,7 @@ class CategoryCore extends ObjectModel */ public function getParentsCategories($id_lang = null) { - $context = Context::cloneContext(); + $context = Context::getContext()->cloneContext(); if (is_null($id_lang)) $id_lang = $context->language->id;