Remove spaces before and after dot

This commit is contained in:
Andrew
2013-04-16 13:39:42 +04:00
parent 8445bb4a94
commit a93cfbec07

View File

@@ -175,9 +175,9 @@ abstract class ControllerCore
// then using displayAjax[action]
if ($this->ajax)
{
$action = 'displayAjax' . Tools::toCamelCase(Tools::getValue('action', true));
$action = 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();
}