From 9552a914d82d233dc928841a5e02c305adf7af8a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 14 May 2018 15:16:19 +0200 Subject: [PATCH] FIX link for projets not linked to a thirdparties --- htdocs/projet/index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/projet/index.php b/htdocs/projet/index.php index c922ca0514b..1ff9e22041d 100644 --- a/htdocs/projet/index.php +++ b/htdocs/projet/index.php @@ -290,7 +290,10 @@ if ( $resql ) print $langs->trans("OthersNotLinkedToThirdParty"); } print ''; - print ''.$obj->nb.''; + print ''; + if ($obj->socid) print ''.$obj->nb.''; + else print ''.$obj->nb.''; + print ''; print "\n"; $i++;