diff --git a/src/opnsense/mvc/app/library/OPNsense/Base/UIModelGrid.php b/src/opnsense/mvc/app/library/OPNsense/Base/UIModelGrid.php index ee00c4228..bf488681e 100644 --- a/src/opnsense/mvc/app/library/OPNsense/Base/UIModelGrid.php +++ b/src/opnsense/mvc/app/library/OPNsense/Base/UIModelGrid.php @@ -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'];