From a711a87096acb611c5ebd1cebbe69abfc1699e79 Mon Sep 17 00:00:00 2001 From: fenner Date: Tue, 5 Nov 2002 17:17:38 +0000 Subject: Correct typo: rss_decription -> rss_description, which prevented event descriptions from being provided in the RSS feed. --- rss/rss.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rss') diff --git a/rss/rss.php b/rss/rss.php index 9efbdeb..4ae73f0 100644 --- a/rss/rss.php +++ b/rss/rss.php @@ -47,7 +47,7 @@ if ($rssview == 'day') { $description = strip_tags($description, ''); $rss_title = htmlspecialchars ("$event_start $event_text"); $rss_link = htmlspecialchars ("$default_path/day.php?getdate=$getdate&cal=$cal"); - $rss_decription = htmlspecialchars ("$description"); + $rss_description = htmlspecialchars ("$description"); $rss .= ''."\n"; $rss .= ''.$rss_title.''."\n"; $rss .= ''.$rss_link.''."\n"; @@ -84,7 +84,7 @@ if ($rssview == "week") { $description = strip_tags($description, ''); $rss_title = htmlspecialchars ("$dayofweek: $event_text"); $rss_link = htmlspecialchars ("$default_path/day.php?getdate=$getdate&cal=$cal"); - $rss_decription = htmlspecialchars ("$dayofweek $event_start: $description"); + $rss_description = htmlspecialchars ("$dayofweek $event_start: $description"); $rss .= ''."\n"; $rss .= ''.$rss_title.''."\n"; $rss .= ''.$rss_link.''."\n"; @@ -130,7 +130,7 @@ if ($rssview == "month") { $description = strip_tags($description, ''); $rss_title = htmlspecialchars ("$dayofmonth: $event_text"); $rss_link = htmlspecialchars ("$default_path/day.php?getdate=$getdate&cal=$cal"); - $rss_decription = htmlspecialchars ("$dayofmonth $event_start: $description"); + $rss_description = htmlspecialchars ("$dayofmonth $event_start: $description"); $rss .= ''."\n"; $rss .= ''.$rss_title.''."\n"; $rss .= ''.$rss_link.''."\n"; @@ -159,4 +159,4 @@ header ("Content-Type: text/xml"); echo "$rss"; -?> \ No newline at end of file +?> -- cgit v1.2.3