// Fix strict standard on controllers + modules header / footer include
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8727 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -43,13 +43,13 @@ class CategoryControllerCore extends FrontController
|
||||
$this->addJS(_THEME_JS_DIR_.'products-comparison.js');
|
||||
}
|
||||
|
||||
public function displayHeader()
|
||||
public function displayHeader($display = true)
|
||||
{
|
||||
parent::displayHeader();
|
||||
$this->productSort();
|
||||
}
|
||||
|
||||
public function canonicalRedirection()
|
||||
public function canonicalRedirection($canonicalURL = '')
|
||||
{
|
||||
if (!Tools::getValue('noredirect') && Validate::isLoadedObject($this->category))
|
||||
parent::canonicalRedirection($this->context->link->getCategoryLink($this->category));
|
||||
|
||||
Reference in New Issue
Block a user