Skip to content
Snippets Groups Projects
Commit 13d8d996 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: Bypass if workflow module is enabled and if the trigger is compatible

parent 5d38b90d
No related branches found
No related tags found
No related merge requests found
......@@ -113,6 +113,9 @@ class Interfaces
$i=0;
if ($objMod)
{
// Bypass if workflow module is enabled and if the trigger is compatible
if ($conf->workflow->enabled && $objMod->workflow) continue;
$modules[$i] = $modName;
//dol_syslog("Interfaces::run_triggers Launch triggers for file '".$file."'",LOG_INFO);
$result=$objMod->run_trigger($action,$object,$user,$langs,$conf);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment