FIX time.php crashed without project id in param
This commit is contained in:
parent
07b040a8eb
commit
adc78296aa
@ -452,8 +452,10 @@ if (($id > 0 || ! empty($ref)) || $projectidforalltimes > 0)
|
||||
$morehtmlref.='<br>';
|
||||
|
||||
// Third party
|
||||
$morehtmlref.=$langs->trans("ThirdParty").': ';
|
||||
$morehtmlref.=$projectstatic->thirdparty->getNomUrl(1);
|
||||
$morehtmlref.=$langs->trans("ThirdParty").': ';
|
||||
if (!empty($projectstatic->thirdparty)) {
|
||||
$morehtmlref.=$projectstatic->thirdparty->getNomUrl(1);
|
||||
}
|
||||
$morehtmlref.='</div>';
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user