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>';
|
$morehtmlref.='<br>';
|
||||||
|
|
||||||
// Third party
|
// Third party
|
||||||
$morehtmlref.=$langs->trans("ThirdParty").': ';
|
if(!empty($projectstatic->thirdparty)) {
|
||||||
$morehtmlref.=$projectstatic->thirdparty->getNomUrl(1);
|
$morehtmlref.=$langs->trans("ThirdParty").': ';
|
||||||
$morehtmlref.='</div>';
|
$morehtmlref.=$projectstatic->thirdparty->getNomUrl(1);
|
||||||
|
$morehtmlref.='</div>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref, $param);
|
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref, $param);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user