Use isModEnabled

This commit is contained in:
Alexandre SPANGARO
2022-08-29 11:22:14 +02:00
parent c2b2d66662
commit 93c69aaaff

View File

@@ -57,7 +57,7 @@ print dol_get_fiche_head($head, 'info', $langs->trans("VariousPayment"), -1, $ob
$morehtmlref = '<div class="refidno">';
// Project
if (!empty($conf->project->enabled)) {
if (isModEnabled('project')) {
$langs->load("projects");
$morehtmlref .= $langs->trans('Project').' : ';
if ($user->rights->banque->modifier && 0) {