[-] BO : fix #PSFV-260
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12177 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -269,7 +269,7 @@ class BlockWishList extends Module
|
|||||||
$this->_html .= '
|
$this->_html .= '
|
||||||
<tr>
|
<tr>
|
||||||
<td class="first_item">
|
<td class="first_item">
|
||||||
<img src="'.$link->getImageLink($product['link_rewrite'], $product['cover'], 'small').'" alt="'.htmlentities($product['name'], ENT_COMPAT, 'UTF-8').'" style="float:left;" />
|
<img src="'.$this->context->link->getImageLink($product['link_rewrite'], $product['cover'], 'small').'" alt="'.htmlentities($product['name'], ENT_COMPAT, 'UTF-8').'" style="float:left;" />
|
||||||
'.$product['name'];
|
'.$product['name'];
|
||||||
if (isset($product['attributes_small']))
|
if (isset($product['attributes_small']))
|
||||||
$this->_html .= '<br /><i>'.htmlentities($product['attributes_small'], ENT_COMPAT, 'UTF-8').'</i>';
|
$this->_html .= '<br /><i>'.htmlentities($product['attributes_small'], ENT_COMPAT, 'UTF-8').'</i>';
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ if (empty($token) === false)
|
|||||||
}
|
}
|
||||||
WishList::incCounter((int)($wishlist['id_wishlist']));
|
WishList::incCounter((int)($wishlist['id_wishlist']));
|
||||||
$ajax = Configuration::get('PS_BLOCK_CART_AJAX');
|
$ajax = Configuration::get('PS_BLOCK_CART_AJAX');
|
||||||
$context->context->smarty->assign(array (
|
$context->smarty->assign(array (
|
||||||
'current_wishlist' => $wishlist,
|
'current_wishlist' => $wishlist,
|
||||||
'token' => $token,
|
'token' => $token,
|
||||||
'ajax' => ((isset($ajax) AND (int)($ajax) == 1) ? '1' : '0'),
|
'ajax' => ((isset($ajax) AND (int)($ajax) == 1) ? '1' : '0'),
|
||||||
|
|||||||
Reference in New Issue
Block a user