[-] CORE : fixed bug #PSCFV-3916

This commit is contained in:
vAugagneur
2012-09-05 12:44:32 +00:00
parent 06341071de
commit 8beebe8d4a

View File

@@ -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();