From 8501dc0859e5c19ab7b7dfc72ed3a170d2d7654c 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 --- 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')),