// 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:
1 parent
b39567ee48
commit
dc98b821b5
1 file changed
+2
@@ -944,6 +944,8 @@ class CategoryCore extends ObjectModel
|
|||||||
public function getParentsCategories($id_lang = null)
|
public function getParentsCategories($id_lang = null)
|
||||||
{
|
{
|
||||||
$context = Context::getContext()->cloneContext();
|
$context = Context::getContext()->cloneContext();
|
||||||
|
$context->shop = clone($context->shop);
|
||||||
|
|
||||||
if (is_null($id_lang))
|
if (is_null($id_lang))
|
||||||
$id_lang = $context->language->id;
|
$id_lang = $context->language->id;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user