Use isModEnabled
This commit is contained in:
parent
c2b2d66662
commit
93c69aaaff
@ -57,7 +57,7 @@ print dol_get_fiche_head($head, 'info', $langs->trans("VariousPayment"), -1, $ob
|
|||||||
|
|
||||||
$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