// 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:
@@ -943,7 +943,7 @@ class CategoryCore extends ObjectModel
|
|||||||
*/
|
*/
|
||||||
public function getParentsCategories($id_lang = null)
|
public function getParentsCategories($id_lang = null)
|
||||||
{
|
{
|
||||||
$context = Context::cloneContext();
|
$context = Context::getContext()->cloneContext();
|
||||||
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