diff options
| author | 2024-12-10 13:59:56 +0100 | |
|---|---|---|
| committer | 2024-12-10 13:59:56 +0100 | |
| commit | 052261bb8efbb910cefbf82fa54c64f54ba79854 (patch) | |
| tree | bed801415d8c7f33f82791efd62b5030baeee0b6 /app/Models/Entry.php | |
| parent | 33fd07f6f26310d4806077cc87bcdf9b8b940e35 (diff) | |
Fix string condition
Follow-up of https://github.com/FreshRSS/FreshRSS/commit/33fd07f6f26310d4806077cc87bcdf9b8b940e35 , which should have been a PR
Diffstat (limited to 'app/Models/Entry.php')
| -rw-r--r-- | app/Models/Entry.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php index 441730af2..adb208276 100644 --- a/app/Models/Entry.php +++ b/app/Models/Entry.php @@ -817,7 +817,7 @@ HTML; if (!empty($feed->attributeArray('path_entries_condition'))) { $found = false; foreach ($feed->attributeArray('path_entries_condition') as $condition) { - if (trim($condition) === '') { + if (!is_string($condition) || trim($condition) === '') { continue; } $booleanSearch = new FreshRSS_BooleanSearch($condition); |
