Use isModEnabled
This commit is contained in:
parent
4f2cd0419a
commit
78431e0d66
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user