Use isModEnabled

This commit is contained in:
Alexandre SPANGARO 2022-08-29 11:22:10 +02:00
parent 20a4e52192
commit c2b2d66662

View File

@ -97,7 +97,7 @@ if ($object->id) {
$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) {