aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Entry.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-12-10 14:57:25 +0100
committerGravatar GitHub <noreply@github.com> 2024-12-10 14:57:25 +0100
commitab9a4e292cab48c94e6bac818f3256f6e131c041 (patch)
tree51e3341929570aabc61b663d24bcd44b6ba821c2 /app/Models/Entry.php
parent052261bb8efbb910cefbf82fa54c64f54ba79854 (diff)
OPML export/import for cssFullContentConditions (#7082)
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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php
index adb208276..e742912ad 100644
--- a/app/Models/Entry.php
+++ b/app/Models/Entry.php
@@ -814,9 +814,9 @@ HTML;
if ($url === '' || $feed === null || $feed->pathEntries() === '') {
return '';
}
- if (!empty($feed->attributeArray('path_entries_condition'))) {
+ if (!empty($feed->attributeArray('path_entries_conditions'))) {
$found = false;
- foreach ($feed->attributeArray('path_entries_condition') as $condition) {
+ foreach ($feed->attributeArray('path_entries_conditions') as $condition) {
if (!is_string($condition) || trim($condition) === '') {
continue;
}