Use isModEnabled
This commit is contained in:
parent
4f2cd0419a
commit
78431e0d66
@ -349,7 +349,7 @@ if ($object->id > 0) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Project
|
// Project
|
||||||
if (!empty($conf->project->enabled)) {
|
if (isModEnabled('project')) {
|
||||||
$langs->load("projects");
|
$langs->load("projects");
|
||||||
$morehtmlref .= '<br>'.$langs->trans('Project').' ';
|
$morehtmlref .= '<br>'.$langs->trans('Project').' ';
|
||||||
if ($usercancreate) {
|
if ($usercancreate) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user