diff --git a/src/FilterService/FilterType/SelectFromMultiSelect.php b/src/FilterService/FilterType/SelectFromMultiSelect.php index 7769e3d2..0b17013f 100644 --- a/src/FilterService/FilterType/SelectFromMultiSelect.php +++ b/src/FilterService/FilterType/SelectFromMultiSelect.php @@ -67,7 +67,9 @@ public function addCondition(AbstractFilterDefinitionType $filterDefinition, Pro $value = $preSelect; } - $value = trim($value); + if ($value) { + $value = trim($value); + } $currentFilter[$field] = $value; $db = Db::get();