Merge pull request #12724 from atm-florian/9.0
fix: task document tab FATAL without thirdparty
This commit is contained in:
commit
cdb730cf4a
@ -256,9 +256,11 @@ if ($object->id > 0)
|
|||||||
$morehtmlref.='<br>';
|
$morehtmlref.='<br>';
|
||||||
|
|
||||||
// Third party
|
// Third party
|
||||||
$morehtmlref.=$langs->trans("ThirdParty").': ';
|
$morehtmlref .= $langs->trans("ThirdParty") . ': ';
|
||||||
$morehtmlref.=$projectstatic->thirdparty->getNomUrl(1);
|
if (is_object($projectstatic->thirdparty) && $projectstatic->thirdparty->id > 0) {
|
||||||
$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