From 036239864e3eb20ebbea3343b8397bc8df030ed8 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Wed, 30 Nov 2005 17:05:56 +0000 Subject: temporary fix to calname problem. Still need to deal with webcalnames better --- rss/rss.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rss') diff --git a/rss/rss.php b/rss/rss.php index 9883557..1d25992 100644 --- a/rss/rss.php +++ b/rss/rss.php @@ -21,7 +21,7 @@ include_once(BASE.'functions/date_functions.php'); //set the range of days to return based on the view chosen $rssview = $_GET['rssview']; -if (isset($_GET['getdate'])){ +if (isset($_GET['getdate']) && $_GET['getdate'] !=''){ $getdate = $_GET['getdate']; }else{ $getdate = date("Ymd"); @@ -95,7 +95,7 @@ if ($enable_rss != 'yes') { //Note that this depends on other modifications I've made to //allow phpicalendar to use calendar subdirectories - see bbs -$cal_displayname = getCalendarName(urldecode($cal)); +$cal_displayname = urldecode($cal); if ($cal == $ALL_CALENDARS_COMBINED) { $temp = explode("/",$calendar_path); $cal_displayname = str_replace("32"," ",ucfirst(array_pop($temp))); -- cgit v1.2.3