Use isModEnabled
This commit is contained in:
parent
bf3f406788
commit
1a4c722a49
@ -257,7 +257,7 @@ llxHeader('', $langs->trans("RepeatableInvoices"), 'ch-facture.html#s-fac-factur
|
||||
|
||||
$form = new Form($db);
|
||||
$formother = new FormOther($db);
|
||||
if (!empty($conf->project->enabled)) {
|
||||
if (isModEnabled('project')) {
|
||||
$formproject = new FormProjets($db);
|
||||
}
|
||||
$companystatic = new Societe($db);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user