// 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');