From 2e8e54aea344cf855c1ab128cf09a84c68b3227b Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Thu, 27 Jul 2006 08:17:21 +0000 Subject: #61433 by bozo, fix some logic around the GUID addition. --- modules/aggregator/aggregator.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/aggregator/aggregator.module') diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index cab78b23a..ccc841bc0 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -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 -- cgit v1.2.3