// FO performance improvements

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12044 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2012-01-03 10:37:05 +00:00
parent 2e54666e06
commit 6c12806a8f
3 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -76,7 +76,6 @@ class CartControllerCore extends FrontController
$this->processAllowSeperatedPackage();
else if(Tools::getIsset('duplicate'))
$this->processDuplicateProduct();
// Make redirection
if (!$this->errors && !$this->ajax)
{
@@ -247,7 +246,8 @@ class CartControllerCore extends FrontController
public function initContent()
{
$this->setTemplate(_PS_THEME_DIR_.'errors.tpl');
parent::initContent();
if (!$this->ajax)
parent::initContent();
}
/**