Skip to content

Commit

Permalink
Update document.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Dec 17, 2019
1 parent bb6523b commit 03bb395
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions htdocs/projet/tasks/document.php
Expand Up @@ -256,11 +256,11 @@
$morehtmlref.='<br>';

// Third party
if ($projectstatic->thirdparty->id > 0) {
$morehtmlref .= $langs->trans("ThirdParty") . ': ';
$morehtmlref .= $projectstatic->thirdparty->getNomUrl(1);
$morehtmlref .= '</div>';
}
$morehtmlref .= $langs->trans("ThirdParty") . ': ';
if (is_object($projectstatic->thirdparty) && $projectstatic->thirdparty->id > 0) {
$morehtmlref .= $projectstatic->thirdparty->getNomUrl(1);
}
$morehtmlref .= '</div>';
}

dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref, $param);
Expand Down

0 comments on commit 03bb395

Please sign in to comment.