Update time.php

This commit is contained in:
Laurent Destailleur 2017-09-14 12:21:41 +02:00 committed by GitHub
parent ad017495f4
commit 4b43c97808

View File

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