Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0

This commit is contained in:
ldestailleur
2025-08-20 16:51:05 +02:00
11 changed files with 71 additions and 26 deletions

View File

@@ -185,6 +185,10 @@ class Interfaces
if (empty($modName)) {
continue;
}
if (!class_exists($modName)) {
dol_syslog(get_class($this)."::run_triggers action=".$action." A trigger file was found with a name interfaces_*_*_".preg_replace('/^interface/', '', strtolower($modName)).".class.php, but the class ".$modName." seems to not exists even after the include of this interface file. Surely a bug in the trigger file or in its name.", LOG_ERR);
continue;
}
$objMod = new $modName($this->db);
'@phan-var-force DolibarrTriggers $objMod';