// Fix #PSCFV-4384

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17557 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2012-09-26 12:25:59 +00:00
parent f2985f1368
commit 3fae760e85
+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;