Merge branch '13.0' of github.com:FHenry/dolibarr into 13.0

This commit is contained in:
Florian HENRY 2021-02-16 18:57:51 +01:00
commit f3360647c9

View File

@ -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) && $key) {
if (!in_array($key, $listofstatus)) {
$listofstatus[] = $key;
}
}