diff --git a/classes/controller/Controller.php b/classes/controller/Controller.php index 88636b61c..17d420008 100644 --- a/classes/controller/Controller.php +++ b/classes/controller/Controller.php @@ -177,7 +177,7 @@ abstract class ControllerCore if ($this->ajax) { $action = Tools::getValue('action'); - if (!empty($action) && method_exists($this, 'displayAjax'.Tools::toCamelCase($action))) + if (!empty($action) && method_exists($this, 'displayAjax'.Tools::toCamelCase($action, true))) $this->{'displayAjax'.$action}(); elseif (method_exists($this, 'displayAjax')) $this->displayAjax();