// Context part 31

This commit is contained in:
tDidierjean
2011-08-17 10:07:12 +00:00
parent a9a1706085
commit 3d733ae6e2
57 changed files with 200 additions and 165 deletions
@@ -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);