2
0
forked from Wavyzz/dolibarr

QUAL Clean code

This commit is contained in:
Laurent Destailleur
2024-08-15 16:53:49 +02:00
parent 631b87f9af
commit aa3a4fbf52
8 changed files with 11 additions and 11 deletions

View File

@@ -315,7 +315,7 @@ class Projects extends DolibarrApi
$file = '';
$classname = '';
$filefound = 0;
$modele = !getDolGlobalString('PROJECT_ADDON') ? 'mod_project_simple' : $conf->global->PROJECT_ADDON;
$modele = getDolGlobalString('PROJECT_ADDON', 'mod_project_simple');
$dirmodels = array_merge(array('/'), (array) $conf->modules_parts['models']);
foreach ($dirmodels as $reldir) {