Fix removed unexpected values in stats graph
Conflicts: htdocs/projet/graph_opportunities.inc.php
This commit is contained in:
parent
440f923b01
commit
a109dd8948
@ -68,8 +68,8 @@ 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)) {
|
||||
foreach ($valsamount as $key => $val) {
|
||||
if (!in_array($key, $listofstatus) && $key) {
|
||||
$listofstatus[] = $key;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user