Use isModEnabled

This commit is contained in:
Alexandre SPANGARO 2022-08-29 11:24:40 +02:00
parent 4f2cd0419a
commit 78431e0d66

View File

@ -349,7 +349,7 @@ if ($object->id > 0) {
}
}
// Project
if (!empty($conf->project->enabled)) {
if (isModEnabled('project')) {
$langs->load("projects");
$morehtmlref .= '<br>'.$langs->trans('Project').' ';
if ($usercancreate) {