From f2985f1368449181a6c5814198ba810c78240881 Mon Sep 17 00:00:00 2001 From: rGaillard Date: Wed, 26 Sep 2012 12:23:14 +0000 Subject: [PATCH] // Fix PSCFV-4384 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17556 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Category.php b/classes/Category.php index 24ce79766..db4570741 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::getContext(); + $context = Context::cloneContext(); if (is_null($id_lang)) $id_lang = $context->language->id;