// Rename Module->smartyAssign to Module->templateAssign
[+] Front: Add module controller + url dispatch for modules
This commit is contained in:
@@ -61,7 +61,7 @@ class BlockMyAccount extends Module
|
||||
if (!$this->context->customer->isLogged())
|
||||
return false;
|
||||
|
||||
$this->smartyAssign(array(
|
||||
$this->templateAssign(array(
|
||||
'voucherAllowed' => (int)Configuration::get('PS_VOUCHERS'),
|
||||
'returnAllowed' => (int)Configuration::get('PS_ORDER_RETURN'),
|
||||
'HOOK_BLOCK_MY_ACCOUNT' => Module::hookExec('myAccountBlock'),
|
||||
|
||||
Reference in New Issue
Block a user