diff --git a/htdocs/core/conf.class.php b/htdocs/core/conf.class.php index 813243cf9ab..b920774f506 100644 --- a/htdocs/core/conf.class.php +++ b/htdocs/core/conf.class.php @@ -132,8 +132,7 @@ class Conf if (preg_match('/^MAIN_MODULE_([A-Z]+)_TRIGGERS$/i',$key,$regs) && $value) { $modulename = strtolower($regs[1]); - $pathoftrigger = DOL_DOCUMENT_ROOT.'/'.$modulename.'/inc/triggers/'; - $this->triggers_modules[] = $pathoftrigger; + $this->triggers_modules[] = DOL_DOCUMENT_ROOT.'/'.$modulename.'/inc/triggers/'; } // If this is constant to force a module directories (used to manage some exceptions) // Should not be used by modules