diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2005-11-30 17:05:56 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2005-11-30 17:05:56 +0000 |
commit | 036239864e3eb20ebbea3343b8397bc8df030ed8 (patch) | |
tree | 89ffb78b659f20fec101e8681d54e78c4a45e234 /rss/rss.php | |
parent | e107224f83b1b9c39e2fb41dd92e778b5bdf1cc2 (diff) | |
download | phpicalendar-036239864e3eb20ebbea3343b8397bc8df030ed8.tar.gz phpicalendar-036239864e3eb20ebbea3343b8397bc8df030ed8.tar.bz2 phpicalendar-036239864e3eb20ebbea3343b8397bc8df030ed8.zip |
temporary fix to calname problem. Still need to deal with webcalnames better
Diffstat (limited to 'rss/rss.php')
-rw-r--r-- | rss/rss.php | 4 |
1 files changed, 2 insertions, 2 deletions
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))); |