// small fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17571 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -944,6 +944,8 @@ class CategoryCore extends ObjectModel
|
||||
public function getParentsCategories($id_lang = null)
|
||||
{
|
||||
$context = Context::getContext()->cloneContext();
|
||||
$context->shop = clone($context->shop);
|
||||
|
||||
if (is_null($id_lang))
|
||||
$id_lang = $context->language->id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user