[-] MO : blocktopmenu : #PSCFV-3762 : Add link for CMS categories

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17035 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-08-28 07:27:23 +00:00
parent 7a0821fc10
commit bb649ae062
+1 -1
View File
@@ -541,7 +541,7 @@ class Blocktopmenu extends Module
$category = new CMSCategory((int)$id, (int)$id_lang);
if (count($category))
{
$this->_menu .= '<li><a href="#">'.$category->name.'</a>';
$this->_menu .= '<li><a href="'.$category->getLink().'">'.$category->name.'</a>';
$this->getCMSMenuItems($category->id);
$this->_menu .= '</li>'.PHP_EOL;
}