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;