// Remove Module->templateAssign() from modules (use $this->smarty->assign() instead)

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10914 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-12-05 14:04:35 +00:00
parent 2644f4b88d
commit d56cb00d8d
21 changed files with 86 additions and 104 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ class BlockMyAccount extends Module
if (!$this->context->customer->isLogged())
return false;
$this->templateAssign(array(
$this->smarty->assign(array(
'voucherAllowed' => (int)Configuration::get('PS_VOUCHERS'),
'returnAllowed' => (int)Configuration::get('PS_ORDER_RETURN'),
'HOOK_BLOCK_MY_ACCOUNT' => Hook::exec('myAccountBlock'),