aboutsummaryrefslogtreecommitdiff
path: root/app/Models/BooleanSearch.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/BooleanSearch.php')
-rw-r--r--app/Models/BooleanSearch.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Models/BooleanSearch.php b/app/Models/BooleanSearch.php
index 4cb74865a..332757556 100644
--- a/app/Models/BooleanSearch.php
+++ b/app/Models/BooleanSearch.php
@@ -223,9 +223,7 @@ class FreshRSS_BooleanSearch {
$quotes = substr_count($segment, '"') + substr_count($segment, '"');
if ($quotes % 2 === 0) {
$segment = trim($segment);
- if ($segment != '') {
- $this->searches[] = new FreshRSS_Search($segment);
- }
+ $this->searches[] = new FreshRSS_Search($segment);
$segment = '';
}
}