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