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')),