diff --git a/tools/profiling/Controller.php b/tools/profiling/Controller.php index 41dc03ead..923faccec 100644 --- a/tools/profiling/Controller.php +++ b/tools/profiling/Controller.php @@ -227,9 +227,9 @@ abstract class Controller extends ControllerCore // then using displayAjax[action] if ($this->ajax) { - $action = 'displayAjax' . Tools::toCamelCase(Tools::getValue('action', true)); + $action = 'displayAjax'.Tools::toCamelCase(Tools::getValue('action', true)); if (!empty($action) && method_exists($this, $action)) - $this->{$action}(); + $this->{'displayAjax'.$action}(); elseif (method_exists($this, 'displayAjax')) $this->displayAjax(); }