Merge pull request #7142 from atm-alexis/FIX_task_view_without_thirdparty
FIX empty thirdparty getNomUrl() call without thirdparty
This commit is contained in:
commit
dec1ae863b
@ -459,7 +459,9 @@ if ($id > 0 || ! empty($ref))
|
||||
|
||||
// Third party
|
||||
$morehtmlref.=$langs->trans("ThirdParty").': ';
|
||||
$morehtmlref.=$projectstatic->thirdparty->getNomUrl(1);
|
||||
if (!empty($projectstatic->thirdparty)) {
|
||||
$morehtmlref.=$projectstatic->thirdparty->getNomUrl(1);
|
||||
}
|
||||
$morehtmlref.='</div>';
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user