fix task document banner without thirdparty FATAL
This commit is contained in:
parent
31a60ff30b
commit
bb6523b75d
1 changed files with 5 additions and 3 deletions
|
|
@ -256,9 +256,11 @@ if ($object->id > 0)
|
|||
$morehtmlref.='<br>';
|
||||
|
||||
// Third party
|
||||
$morehtmlref.=$langs->trans("ThirdParty").': ';
|
||||
$morehtmlref.=$projectstatic->thirdparty->getNomUrl(1);
|
||||
$morehtmlref.='</div>';
|
||||
if ($projectstatic->thirdparty->id > 0) {
|
||||
$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 a new issue