// small changes

This commit is contained in:
Rémi Gaillard
2013-02-19 15:02:09 +01:00
parent 9b85cb1f76
commit e152366d49
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ class CompareControllerCore extends FrontController
}
else if (Tools::getValue('action') == 'remove')
{
if (isset(self::$cookie->id_compare))
if (isset($this->context->cookie->id_compare))
CompareProduct::removeCompareProduct((int)$this->context->cookie->id_compare, (int)Tools::getValue('id_product'));
else
die('0');
+1 -1
View File
@@ -323,7 +323,7 @@ class OrderOpcControllerCore extends ParentOrderController
'genders' => Gender::getGenders(),
));
/* Call a hook to display more information on form */
self::$smarty->assign(array(
$this->context->smarty->assign(array(
'HOOK_CREATE_ACCOUNT_FORM' => Hook::exec('displayCustomerAccountForm'),
'HOOK_CREATE_ACCOUNT_TOP' => Hook::exec('displayCustomerAccountFormTop')
));
+1 -1
View File
@@ -136,7 +136,7 @@ class StoresControllerCore extends FrontController
}
$smarty->assign('days_datas', $days_datas);
$smarty->assign('id_country', $store['id_country']);
return self::$smarty->fetch(_PS_THEME_DIR_.'store_infos.tpl');
return $this->context->smarty->fetch(_PS_THEME_DIR_.'store_infos.tpl');
}
return false;
}