Remove spaces before and after dot

This commit is contained in:
Andrew
2013-04-16 13:43:24 +04:00
parent a93cfbec07
commit 5ab4c18396
+2 -2
View File
@@ -227,9 +227,9 @@ abstract class Controller extends ControllerCore
// then using displayAjax[action] // then using displayAjax[action]
if ($this->ajax) 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)) 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();
} }