Skip to content
Snippets Groups Projects
Commit 2e8e54ae authored by Neil Drumm's avatar Neil Drumm :wave:
Browse files

#61433 by bozo, fix some logic around the GUID addition.

parent b6ee7cef
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -859,12 +859,12 @@ function aggregator_parse_feed(&$data, $feed) { ...@@ -859,12 +859,12 @@ function aggregator_parse_feed(&$data, $feed) {
if ($item['LINK']) { if ($item['LINK']) {
$link = $item['LINK']; $link = $item['LINK'];
} }
if ($item['GUID']) {
$guid = $item['GUID'];
}
else { else {
$link = $feed['link']; $link = $feed['link'];
} }
if ($item['GUID']) {
$guid = $item['GUID'];
}
/** /**
* Atom feeds have a CONTENT and/or SUMMARY tag instead of a DESCRIPTION tag * Atom feeds have a CONTENT and/or SUMMARY tag instead of a DESCRIPTION tag
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment