From 9046d620e10c1f7610c7ba8626f3b797287163a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Thu, 5 Sep 2013 17:15:06 +0200 Subject: [PATCH] Avoid using the same var as outer loop --- htdocs/projet/ganttview.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/projet/ganttview.php b/htdocs/projet/ganttview.php index e19571f9518..50a5022a2f0 100644 --- a/htdocs/projet/ganttview.php +++ b/htdocs/projet/ganttview.php @@ -210,7 +210,7 @@ if (count($tasksarray)>0) { $s.=$langs->trans("Internals").': '; $i=0; - foreach($idofusers as $key => $valid) + foreach($idofusers as $valid) { $userstatic->fetch($valid); if ($i) $s.=','; @@ -224,7 +224,7 @@ if (count($tasksarray)>0) if ($s) $s.=' - '; $s.=$langs->trans("Externals").': '; $i=0; - foreach($idofthirdparty as $key => $valid) + foreach($idofthirdparty as $valid) { $companystatic->fetch($valid); if ($i) $s.=',';