// Revert normalization
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8019 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -38,7 +38,7 @@ if (!Context::getContext()->cookie->isLogged())
|
||||
|
||||
include(dirname(__FILE__).'/../../header.php');
|
||||
|
||||
if (Context::getContext()->customer->id)
|
||||
if ((int)Context::getContext()->customer->id)
|
||||
{
|
||||
$smarty->assign('favoriteProducts', FavoriteProduct::getFavoriteProducts((int)Context::getContext()->customer->id, (int)Context::getContext()->language->id));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user