From 6fc3817f85d98ce9fde1900e9cd985ba77d944a7 Mon Sep 17 00:00:00 2001 From: Hal Roberts Date: Tue, 29 Jul 2003 14:24:27 +0000 Subject: [PATCH] bug fix for empty rss feed --- lib/WebGUI/Wobject/SyndicatedContent.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/WebGUI/Wobject/SyndicatedContent.pm b/lib/WebGUI/Wobject/SyndicatedContent.pm index 333982eff..6284856c5 100644 --- a/lib/WebGUI/Wobject/SyndicatedContent.pm +++ b/lib/WebGUI/Wobject/SyndicatedContent.pm @@ -213,6 +213,7 @@ sub _get_rss_data { } if (!($rss->{items} = _find_record($rss_lite, qr/^items?$/))) { warn("unable to find item info for url $url"); + $rss->{items} = []; } _strip_html($rss);