From 67c9cff587d3a36e26fc9470a25fee344a1840f2 Mon Sep 17 00:00:00 2001 From: aFolletete Date: Mon, 21 May 2012 09:42:19 +0000 Subject: [PATCH] // add comment git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15481 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/controller/Controller.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/controller/Controller.php b/classes/controller/Controller.php index b8688e1e5..adbf5ebaf 100644 --- a/classes/controller/Controller.php +++ b/classes/controller/Controller.php @@ -139,6 +139,7 @@ abstract class ControllerCore $this->context = Context::getContext(); $this->context->controller = $this; + // Usage of ajax parameter is deprecated $this->ajax = Tools::getValue('ajax') || Tools::isSubmit('ajax') || $this->isXmlHttpRequest(); }