Use isModEnabled
This commit is contained in:
parent
20a4e52192
commit
c2b2d66662
@ -97,7 +97,7 @@ if ($object->id) {
|
|||||||
|
|
||||||
$morehtmlref = '<div class="refidno">';
|
$morehtmlref = '<div class="refidno">';
|
||||||
// Project
|
// Project
|
||||||
if (!empty($conf->project->enabled)) {
|
if (isModEnabled('project')) {
|
||||||
$langs->load("projects");
|
$langs->load("projects");
|
||||||
$morehtmlref .= $langs->trans('Project').' : ';
|
$morehtmlref .= $langs->trans('Project').' : ';
|
||||||
if ($user->rights->banque->modifier && 0) {
|
if ($user->rights->banque->modifier && 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user