Commit 2e8e54ae authored by drumm's avatar drumm

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

parent b6ee7cef
......@@ -859,12 +859,12 @@ function aggregator_parse_feed(&$data, $feed) {
if ($item['LINK']) {
$link = $item['LINK'];
}
if ($item['GUID']) {
$guid = $item['GUID'];
}
else {
$link = $feed['link'];
}
if ($item['GUID']) {
$guid = $item['GUID'];
}
/**
* Atom feeds have a CONTENT and/or SUMMARY tag instead of a DESCRIPTION tag
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment