Fix removed unexpected values in stats graph
This commit is contained in:
parent
512745920a
commit
b46d1fa6a1
@ -69,7 +69,7 @@ if (!empty($conf->global->PROJECT_USE_OPPORTUNITIES))
|
|||||||
$listofstatus = array_keys($listofoppstatus);
|
$listofstatus = array_keys($listofoppstatus);
|
||||||
// Complete with values found into database and not into the dictionary
|
// Complete with values found into database and not into the dictionary
|
||||||
foreach ($valsamount as $key => $val) {
|
foreach ($valsamount as $key => $val) {
|
||||||
if (!in_array($key, $listofstatus)) {
|
if (!in_array($key, $listofstatus) && $key) {
|
||||||
$listofstatus[] = $key;
|
$listofstatus[] = $key;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user