FIX time.php crashed without project id in param

This commit is contained in:
arnaud 2017-09-11 16:56:50 +02:00
parent 07b040a8eb
commit adc78296aa

View File

@ -452,8 +452,10 @@ if (($id > 0 || ! empty($ref)) || $projectidforalltimes > 0)
$morehtmlref.='<br>'; $morehtmlref.='<br>';
// Third party // Third party
$morehtmlref.=$langs->trans("ThirdParty").': '; $morehtmlref.=$langs->trans("ThirdParty").': ';
$morehtmlref.=$projectstatic->thirdparty->getNomUrl(1); if (!empty($projectstatic->thirdparty)) {
$morehtmlref.=$projectstatic->thirdparty->getNomUrl(1);
}
$morehtmlref.='</div>'; $morehtmlref.='</div>';
} }