Remove spaces before and after dot

This commit is contained in:
Andrew
2013-04-16 13:43:24 +04:00
parent a93cfbec07
commit 5ab4c18396
+1 -1
View File
@@ -229,7 +229,7 @@ abstract class Controller extends ControllerCore
{ {
$action = 'displayAjax'.Tools::toCamelCase(Tools::getValue('action', true)); $action = 'displayAjax'.Tools::toCamelCase(Tools::getValue('action', true));
if (!empty($action) && method_exists($this, $action)) if (!empty($action) && method_exists($this, $action))
$this->{$action}(); $this->{'displayAjax'.$action}();
elseif (method_exists($this, 'displayAjax')) elseif (method_exists($this, 'displayAjax'))
$this->displayAjax(); $this->displayAjax();
} }