fix warning
This commit is contained in:
parent
744fe688aa
commit
34b9890110
@ -282,7 +282,7 @@ if ($projectid > 0) {
|
||||
// Title
|
||||
$morehtmlref .= $project->title;
|
||||
// Thirdparty
|
||||
if ($project->thirdparty->id > 0) {
|
||||
if (isset($project->thirdparty->id) && $project->thirdparty->id > 0) {
|
||||
$morehtmlref .= '<br>'.$langs->trans('ThirdParty').' : '.$project->thirdparty->getNomUrl(1, 'project');
|
||||
}
|
||||
$morehtmlref .= '</div>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user