summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/aggregator.module3
-rw-r--r--modules/aggregator/aggregator.module3
2 files changed, 6 insertions, 0 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module
index 4c66501a3..4d7bbe4c8 100644
--- a/modules/aggregator.module
+++ b/modules/aggregator.module
@@ -317,6 +317,9 @@ function aggregator_refresh($feed) {
if ($image['LINK'] && $image['URL'] && $image['TITLE']) {
$image = "<a href=\"". $image['LINK'] ."\"><img src=\"". $image['URL'] ."\" alt=\"". $image['TITLE'] ."\" /></a>";
}
+ else {
+ $image = NULL;
+ }
/*
** Update the feed data:
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index 4c66501a3..4d7bbe4c8 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -317,6 +317,9 @@ function aggregator_refresh($feed) {
if ($image['LINK'] && $image['URL'] && $image['TITLE']) {
$image = "<a href=\"". $image['LINK'] ."\"><img src=\"". $image['URL'] ."\" alt=\"". $image['TITLE'] ."\" /></a>";
}
+ else {
+ $image = NULL;
+ }
/*
** Update the feed data: