[-] CORE : fixed bug #PSCFV-3916
This commit is contained in:
@@ -177,7 +177,7 @@ abstract class ControllerCore
|
|||||||
if ($this->ajax)
|
if ($this->ajax)
|
||||||
{
|
{
|
||||||
$action = Tools::getValue('action');
|
$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}();
|
$this->{'displayAjax'.$action}();
|
||||||
elseif (method_exists($this, 'displayAjax'))
|
elseif (method_exists($this, 'displayAjax'))
|
||||||
$this->displayAjax();
|
$this->displayAjax();
|
||||||
|
|||||||
Reference in New Issue
Block a user