// Fix add to cart
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9687 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -120,11 +120,15 @@ abstract class ControllerCore
|
|||||||
// postProcess handles ajaxProcess
|
// postProcess handles ajaxProcess
|
||||||
$this->postProcess();
|
$this->postProcess();
|
||||||
|
|
||||||
$this->setMedia();
|
if ($this->display_header)
|
||||||
$this->initHeader();
|
{
|
||||||
|
$this->setMedia();
|
||||||
|
$this->initHeader();
|
||||||
|
}
|
||||||
|
|
||||||
$this->initContent();
|
$this->initContent();
|
||||||
$this->initFooter();
|
if ($this->display_footer)
|
||||||
|
$this->initFooter();
|
||||||
|
|
||||||
if ($this->ajax)
|
if ($this->ajax)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user