2
0
forked from Wavyzz/dolibarr

Fixing style errors.

This commit is contained in:
stickler-ci
2020-09-21 07:34:00 +00:00
parent 2fbb6b1125
commit 4cbe8d8623

View File

@@ -110,7 +110,7 @@ class InterfaceMyModuleTriggers extends DolibarrTriggers
*/
$methodName = lcfirst(str_replace(' ', '', ucwords(str_replace('_', ' ', strtolower($action)))));
$callback = array($this, $methodName);
if(is_callable($callback)){
if (is_callable($callback)){
dol_syslog(
"Trigger '" . $this->name . "' for action '$action' launched by " . __FILE__ . ". id=" . $object->id
);