Fix: The resource dropdown does not show the values

This commit is contained in:
Ferran Marcet 2022-04-12 19:20:45 +02:00
parent 6cbcc54bd9
commit ed172421f0

View File

@ -225,7 +225,8 @@ class FormResource
$value = ($maxlength ?dol_trunc($arraytypes['label'], $maxlength) : $arraytypes['label']);
} elseif ($format == 3) {
$value = $arraytypes['code'];
} else {
}
if (empty($value)) {
$value = ' ';
}
print $value;