// Retro-compatibility fix of front controllers
This commit is contained in:
@@ -74,6 +74,8 @@ class CompareControllerCore extends FrontController
|
||||
*/
|
||||
public function initContent()
|
||||
{
|
||||
parent::initContent();
|
||||
|
||||
//Clean compare product table
|
||||
CompareProduct::cleanCompareProducts('week');
|
||||
|
||||
@@ -153,7 +155,6 @@ class CompareControllerCore extends FrontController
|
||||
$this->context->smarty->assign('hasProduct', $hasProduct);
|
||||
|
||||
$this->setTemplate(_PS_THEME_DIR_.'products-comparison.tpl');
|
||||
parent::initContent();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user