mirror of
https://github.com/opnsense/core.git
synced 2026-05-28 04:34:51 -04:00
Fix checking empty string. (#2887)
This commit is contained in:
parent
01f5e6d146
commit
db94fb410a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue