diff options
Diffstat (limited to 'lib/Db/Item.php')
-rw-r--r-- | lib/Db/Item.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Db/Item.php b/lib/Db/Item.php index c1366bb8c..8c46a4973 100644 --- a/lib/Db/Item.php +++ b/lib/Db/Item.php @@ -181,9 +181,7 @@ class Item extends Entity implements IAPI, \JsonSerializable $search_string = ""; foreach ($input_list as $value) { - if (is_null($value)) { - $search_string .= ""; - } else { + if (!is_null($value)) { $search_string .= html_entity_decode($value); } } |