fix warnings in ticket list

This commit is contained in:
Frédéric FRANCE 2021-10-24 09:48:30 +02:00
parent 6b3916a7b3
commit 13f04053a1
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1

View File

@ -560,7 +560,7 @@ if ($projectid > 0 || $project_ref) {
// Title
$morehtmlref .= $object->title;
// Thirdparty
if (!empty($object->thirdparty) && $object->thirdparty->id > 0) {
if (!empty($object->thirdparty->id) && $object->thirdparty->id > 0) {
$morehtmlref .= '<br>'.$langs->trans('ThirdParty').' : '.$object->thirdparty->getNomUrl(1, 'project');
}
$morehtmlref .= '</div>';