use isModEnabled
This commit is contained in:
parent
7760ba86da
commit
40c5be6f7f
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ if ($object->id > 0) {
|
|||
// Thirdparty
|
||||
$morehtmlref.='<br>'.$langs->trans('ThirdParty') . ' : ' . (is_object($object->thirdparty) ? $object->thirdparty->getNomUrl(1) : '');
|
||||
// Project
|
||||
if (!empty($conf->project->enabled)) {
|
||||
if (isModEnabled('project')) {
|
||||
$langs->load("projects");
|
||||
$morehtmlref.='<br>'.$langs->trans('Project') . ' ';
|
||||
if ($permissiontoadd) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue