aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Entry.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Entry.php')
-rw-r--r--app/Models/Entry.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php
index 5aa819a68..54516ca58 100644
--- a/app/Models/Entry.php
+++ b/app/Models/Entry.php
@@ -1017,7 +1017,7 @@ HTML;
return false;
}
$xpath = new DOMXPath($doc);
- $filterednodes = $xpath->query((new Gt\CssXPath\Translator($feed->attributeString('path_entries_filter') ?? '', '//'))->asXPath()) ?: [];
+ $filterednodes = $xpath->query((new Gt\CssXPath\Translator($feed->attributeString('path_entries_filter'), '//'))->asXPath()) ?: [];
foreach ($filterednodes as $filterednode) {
if (!($filterednode instanceof DOMElement) || $filterednode->parentNode === null) {
continue;