From 964799deb511fa983cf00d20e577c1866376bb08 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 16 Jun 2023 12:49:03 +0200 Subject: [PATCH] FIX Do not show disabled user in column "assigned" for list of tasks --- htdocs/core/lib/project.lib.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/core/lib/project.lib.php b/htdocs/core/lib/project.lib.php index 64e24555897..ca9d04bacd4 100644 --- a/htdocs/core/lib/project.lib.php +++ b/htdocs/core/lib/project.lib.php @@ -904,7 +904,9 @@ function projectLinesa(&$inc, $parent, &$lines, &$level, $var, $showproject, &$t print ''; $ifisrt = 1; foreach (array('internal', 'external') as $source) { - $tab = $lines[$i]->liste_contact(-1, $source); + //$tab = $lines[$i]->liste_contact(-1, $source); + $tab = $lines[$i]->liste_contact(-1, $source, 0, '', 1); + $numcontact = count($tab); if (!empty($numcontact)) { foreach ($tab as $contacttask) {