diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-29 06:57:09 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-29 06:57:09 +0000 |
commit | 49cfa70058fc7fab9e3007b93e12139604223958 (patch) | |
tree | ae3b67560b6943682e0a20d347de7111d68ef009 | |
parent | 4f0b3b7acc3f1ca0546e6db58ccf9f3beab8bf4e (diff) | |
download | phpicalendar-49cfa70058fc7fab9e3007b93e12139604223958.tar.gz phpicalendar-49cfa70058fc7fab9e3007b93e12139604223958.tar.bz2 phpicalendar-49cfa70058fc7fab9e3007b93e12139604223958.zip |
cal select pulldown
-rw-r--r-- | functions/calendar_functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/calendar_functions.php b/functions/calendar_functions.php index ef423b6..020396f 100644 --- a/functions/calendar_functions.php +++ b/functions/calendar_functions.php @@ -257,7 +257,7 @@ function display_ical_list($cals, $pick=FALSE) { } } else { $cal_httpPrefix_tmp = str_replace('webcal://', 'http://', $cal_tmp); - if ($cal_httpPrefix_tmp == urldecode($cal)) { + if ($cal_encoded_tmp == urldecode($cal)) { $return .= "<option value=\"$current_view.php?cal=$cal_encoded_tmp&getdate=$getdate\" selected=\"selected\">$cal_displayname_tmp</option>"; } else { $return .= "<option value=\"$current_view.php?cal=$cal_encoded_tmp&getdate=$getdate\">$cal_displayname_tmp</option>"; |