Fix: The resource dropdown does not show the values
This commit is contained in:
parent
6cbcc54bd9
commit
ed172421f0
@ -225,7 +225,8 @@ class FormResource
|
|||||||
$value = ($maxlength ?dol_trunc($arraytypes['label'], $maxlength) : $arraytypes['label']);
|
$value = ($maxlength ?dol_trunc($arraytypes['label'], $maxlength) : $arraytypes['label']);
|
||||||
} elseif ($format == 3) {
|
} elseif ($format == 3) {
|
||||||
$value = $arraytypes['code'];
|
$value = $arraytypes['code'];
|
||||||
} else {
|
}
|
||||||
|
if (empty($value)) {
|
||||||
$value = ' ';
|
$value = ' ';
|
||||||
}
|
}
|
||||||
print $value;
|
print $value;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user