// Retro-compatibility fix of front controllers

This commit is contained in:
rMalie
2012-03-05 15:32:06 +00:00
parent 2db02b9ff7
commit 8a24c0a741
31 changed files with 62 additions and 31 deletions
+2 -1
View File
@@ -41,6 +41,8 @@ class PricesDropControllerCore extends FrontController
*/
public function initContent()
{
parent::initContent();
$this->productSort();
$nbProducts = Product::getPricesDrop($this->context->language->id, null, null, true);
$this->pagination($nbProducts);
@@ -53,7 +55,6 @@ class PricesDropControllerCore extends FrontController
));
$this->setTemplate(_PS_THEME_DIR_.'prices-drop.tpl');
parent::initContent();
}
}