Merge pull request #222 from PrestaEdit/patch-17
[-] MO: fix a problem with the wishlist_link
This commit is contained in:
@@ -170,6 +170,8 @@ class BlockWishList extends Module
|
||||
{
|
||||
$this->context->controller->addCSS(($this->_path).'blockwishlist.css', 'all');
|
||||
$this->context->controller->addJS(($this->_path).'js/ajax-wishlist.js');
|
||||
|
||||
$this->smarty->assign(array('wishlist_link' => $this->context->link->getModuleLink('blockwishlist', 'mywishlist')));
|
||||
}
|
||||
|
||||
public function hookRightColumn($params)
|
||||
@@ -203,8 +205,6 @@ class BlockWishList extends Module
|
||||
else
|
||||
$this->smarty->assign(array('wishlist_products' => false, 'wishlists' => false));
|
||||
|
||||
$this->smarty->assign(array('wishlist_link' => $this->context->link->getModuleLink('blockwishlist', 'mywishlist')));
|
||||
|
||||
return ($this->display(__FILE__, 'blockwishlist.tpl'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user