Commit 2aa80360 authored by Dries's avatar Dries

- Fixed bug in image parsing: caused 'Array' to be printed on the screen.
parent b85eb11e
......@@ -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:
......
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment