// Context part 31
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8087 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -35,7 +35,7 @@ include_once(dirname(__FILE__).'/WishList.php');
|
||||
$context = Context::getContext();
|
||||
$errors = array();
|
||||
|
||||
if ($cookie->isLogged())
|
||||
if ($context->customer->isLogged())
|
||||
{
|
||||
$add = Tools::getIsset('add');
|
||||
$add = (empty($add) === false ? 1 : 0);
|
||||
|
||||
Reference in New Issue
Block a user