Merge pull request #1099 from djfm/blocktopmenu

// fixed undefined variable in blocktopmenu
This commit is contained in:
Gregory Roussac committed 2013-12-04 07:11:51 -08:00
commit 08cb7ee566
1 file changed
+1
+1
View File
@@ -962,6 +962,7 @@ class Blocktopmenu extends Module
{
if ($link['label'] == '')
{
$default_language = Configuration::get('PS_LANG_DEFAULT');
$link = MenuTopLinks::get($link['id_linksmenutop'], $default_language, (int)Shop::getContextShopID());
$html .= '<option value="LNK'.(int)$link[0]['id_linksmenutop'].'">'.$spacer.$link[0]['label'].'</option>';
}