mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
Fix checking empty string. (#2887)
This commit is contained in:
parent
01f5e6d146
commit
db94fb410a
@ -109,7 +109,7 @@ class UIModelGrid
|
||||
$row[$fieldname] = '';
|
||||
foreach ($listItems as $fieldValue) {
|
||||
if ($fieldValue['selected'] == 1) {
|
||||
if (!empty($row[$fieldname])) {
|
||||
if ($row[$fieldname] != "") {
|
||||
$row[$fieldname] .= ',';
|
||||
}
|
||||
$row[$fieldname] .= $fieldValue['value'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user