From 31e78477ef412f78bb3a917de6d85e004435cdc0 Mon Sep 17 00:00:00 2001 From: rMalie Date: Fri, 19 Aug 2011 14:04:41 +0000 Subject: [PATCH] // Fix module blockmaccount with context git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8122 b9a71923-0436-4b27-9f14-aed3839534dd --- modules/blockmyaccount/blockmyaccount.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/blockmyaccount/blockmyaccount.php b/modules/blockmyaccount/blockmyaccount.php index d4273c9ea..56a43a0c8 100644 --- a/modules/blockmyaccount/blockmyaccount.php +++ b/modules/blockmyaccount/blockmyaccount.php @@ -58,7 +58,7 @@ class BlockMyAccount extends Module public function hookLeftColumn($params) { - if ($this->context->customer->isLogged()) + if (!$this->context->customer->isLogged()) return false; $this->context->smarty->assign(array( 'voucherAllowed' => (int)(Configuration::get('PS_VOUCHERS')),