// Fix #PSCFV-4384

This commit is contained in:
rGaillard committed 2012-09-26 12:25:59 +00:00
1 parent 3b47db9570
commit 7e042ebd66
1 file changed
+1 -1
+1 -1
View File
@@ -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;