// Fix module blockmaccount with context
This commit is contained in:
1 parent
fb55cfcd11
commit
8501dc0859
1 file changed
+1
-1
@@ -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')),
|
||||
|
||||
Reference in new issue
Block a user