From 0f00194d977f8eca99881b6235c6305731937f88 Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Tue, 16 Feb 2021 18:59:23 +0100 Subject: [PATCH] revert commit --- htdocs/projet/graph_opportunities.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/projet/graph_opportunities.inc.php b/htdocs/projet/graph_opportunities.inc.php index 9588951307a..66b04527772 100644 --- a/htdocs/projet/graph_opportunities.inc.php +++ b/htdocs/projet/graph_opportunities.inc.php @@ -69,7 +69,7 @@ if (!empty($conf->global->PROJECT_USE_OPPORTUNITIES)) $listofstatus = array_keys($listofoppstatus); // Complete with values found into database and not into the dictionary foreach ($valsamount as $key => $val) { - if (!in_array($key, $listofstatus)) { + if (!in_array($key, $listofstatus) && $key) { $listofstatus[] = $key; } }