// 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:
@@ -402,7 +402,7 @@ class TrustedShopsRating extends AbsTrustedShops
|
||||
{
|
||||
$buyer_email = '';
|
||||
|
||||
if (Context::getContext()->cookie->isLogged())
|
||||
if (Context::getContext()->customer->isLogged())
|
||||
{
|
||||
if (empty($id_order) && !empty(Context::getContext()->customer->id))
|
||||
$id_order = $this->_getLastOrderId(Context::getContext()->customer->id);
|
||||
|
||||
Reference in New Issue
Block a user