// 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:
rGaillard
2012-09-26 14:21:44 +00:00
parent b39567ee48
commit dc98b821b5
+2
View File
@@ -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;