// Fix display of breadcrumb (dont show categories disabled) + it's now impossible to browse categories outside of root category for shops
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8089 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -211,7 +211,7 @@ class CMSCategoryCore extends ObjectModel
|
||||
$category['cms'] = Db::getInstance()->ExecuteS($sql);
|
||||
if ($links == 1)
|
||||
{
|
||||
$category['link'] = $context->link->getCMSCategoryLink($current, $category['link_rewrite']);
|
||||
$category['link'] = $link->getCMSCategoryLink($current, $category['link_rewrite']);
|
||||
foreach($category['cms'] as $key => $cms)
|
||||
$category['cms'][$key]['link'] = $link->getCMSLink($cms['id_cms'], $cms['link_rewrite']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user