From dcc58e5b1a46b5c141e4e6165c40f322ea70c2fd Mon Sep 17 00:00:00 2001 From: Jonathan Byrne Date: Tue, 20 Nov 2007 13:21:36 +0000 Subject: [PATCH] KTC-232 "Error when trying to view RSS Feed" --- plugins/rssplugin/loadFeed.inc.php | 18 ++++++++++++------ plugins/rssplugin/rss2array.inc.php | 7 +++---- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/plugins/rssplugin/loadFeed.inc.php b/plugins/rssplugin/loadFeed.inc.php index ce3a04f..0153137 100644 --- a/plugins/rssplugin/loadFeed.inc.php +++ b/plugins/rssplugin/loadFeed.inc.php @@ -1,6 +1,6 @@ 0){ + for($i=0;$i'; + echo '
'.$response.'
'; + return; + } + } // Prepare response data to be passed back to page - $reposonse = "

".$aRSSArray[channel][title]."

" . + $response = "

".$aRSSArray[channel][title]."

" . "
" . ""; for($i=0;$i @@ -63,7 +69,7 @@ "; } - $reposonse .= "
".$aRSSArray[items][$i][title]."


"; + $response .= "
"; - echo $reposonse; + echo $response; ?> diff --git a/plugins/rssplugin/rss2array.inc.php b/plugins/rssplugin/rss2array.inc.php index a767a1b..e7fa981 100644 --- a/plugins/rssplugin/rss2array.inc.php +++ b/plugins/rssplugin/rss2array.inc.php @@ -1,7 +1,7 @@