diff options
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 7ba0d3793..7254dd513 100644 --- a/app/Models/Entry.php +++ b/app/Models/Entry.php @@ -860,7 +860,7 @@ HTML; } $conditions = $feed->attributeArray('path_entries_conditions') ?? []; - $conditions = array_filter(array_map(fn($v) => is_string($v) ? trim($v) : '', $conditions)); + $conditions = array_filter($conditions, fn($v): bool => (is_string($v) ? trim($v) : '') !== ''); if (count($conditions) > 0) { $found = false; foreach ($conditions as $condition) { |
