summaryrefslogtreecommitdiff
path: root/modules/aggregator
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-07-27 08:17:21 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-07-27 08:17:21 +0000
commit2e8e54aea344cf855c1ab128cf09a84c68b3227b (patch)
tree689c990f39b1f76733ec41cd46fe0d2822621ebf /modules/aggregator
parentb6ee7cef865a1b5f7d589eee3391896eed895751 (diff)
downloadbrdo-2e8e54aea344cf855c1ab128cf09a84c68b3227b.tar.gz
brdo-2e8e54aea344cf855c1ab128cf09a84c68b3227b.tar.bz2
#61433 by bozo, fix some logic around the GUID addition.
Diffstat (limited to 'modules/aggregator')
-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