summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/aggregator/aggregator.module6
1 files changed, 3 insertions, 3 deletions
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