summaryrefslogtreecommitdiff
path: root/modules/aggregator.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-01-24 15:47:44 +0000
committerDries Buytaert <dries@buytaert.net>2004-01-24 15:47:44 +0000
commit2aa8036057d14d939ed1533ad89809d7bc941274 (patch)
treeefcd481bd91ee55e335f2b612f2f8f7e0d72b77a /modules/aggregator.module
parentb85eb11e113396490720572d11d30cd83c772ba1 (diff)
downloadbrdo-2aa8036057d14d939ed1533ad89809d7bc941274.tar.gz
brdo-2aa8036057d14d939ed1533ad89809d7bc941274.tar.bz2
- Fixed bug in image parsing: caused 'Array' to be printed on the screen.
Diffstat (limited to 'modules/aggregator.module')
-rw-r--r--modules/aggregator.module3
1 files changed, 3 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: