diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-01-24 15:47:44 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-01-24 15:47:44 +0000 |
commit | 2aa8036057d14d939ed1533ad89809d7bc941274 (patch) | |
tree | efcd481bd91ee55e335f2b612f2f8f7e0d72b77a /modules/aggregator.module | |
parent | b85eb11e113396490720572d11d30cd83c772ba1 (diff) | |
download | brdo-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.module | 3 |
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: |