FIX empty thirdparty getNomUrl() call without thirdparty
This commit is contained in:
parent
d34146b127
commit
f1d451eb12
@ -458,9 +458,11 @@ if ($id > 0 || ! empty($ref))
|
||||
$morehtmlref.='<br>';
|
||||
|
||||
// Third party
|
||||
$morehtmlref.=$langs->trans("ThirdParty").': ';
|
||||
$morehtmlref.=$projectstatic->thirdparty->getNomUrl(1);
|
||||
$morehtmlref.='</div>';
|
||||
if(!empty($projectstatic->thirdparty)) {
|
||||
$morehtmlref.=$langs->trans("ThirdParty").': ';
|
||||
$morehtmlref.=$projectstatic->thirdparty->getNomUrl(1);
|
||||
$morehtmlref.='</div>';
|
||||
}
|
||||
}
|
||||
|
||||
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref, $param);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user