// Context part 29
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7935 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1028,10 +1028,7 @@ class CategoryCore extends ObjectModel
|
||||
public static function getCategoryInformations($ids_category, $id_lang = null)
|
||||
{
|
||||
if ($id_lang === null)
|
||||
{
|
||||
global $cookie;
|
||||
$id_lang = $cookie->id_lang;
|
||||
}
|
||||
$id_lang = Context::getContext()->language->id;
|
||||
|
||||
if (!is_array($ids_category) || !sizeof($ids_category))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user