diff options
author | Benjamin Brahmer <info@b-brahmer.de> | 2022-08-06 16:43:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-06 16:43:35 +0200 |
commit | 713ab0fa776f07cb65240e5f09cf4cfa7f0b6304 (patch) | |
tree | 6cedc43732068178e16fe215d527a5fa0610b0b7 | |
parent | e613f1b179e2e947f1a04b6c4edc84becc709480 (diff) |
Update lib/Db/Item.php
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
-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); } } |