// Context part 11

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7644 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-07-18 15:50:58 +00:00
parent 0452f08f64
commit 2c493137c3
60 changed files with 378 additions and 520 deletions
+2 -3
View File
@@ -58,11 +58,10 @@ class BlockMyAccount extends Module
public function hookLeftColumn($params)
{
global $smarty;
$context = Context::getContext();
if (!$params['cookie']->isLogged())
return false;
$smarty->assign(array(
$context->controller->smarty->assign(array(
'voucherAllowed' => (int)(Configuration::get('PS_VOUCHERS')),
'returnAllowed' => (int)(Configuration::get('PS_ORDER_RETURN')),
'HOOK_BLOCK_MY_ACCOUNT' => Module::hookExec('myAccountBlock')