aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-29 06:57:09 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-29 06:57:09 +0000
commit49cfa70058fc7fab9e3007b93e12139604223958 (patch)
treeae3b67560b6943682e0a20d347de7111d68ef009
parent4f0b3b7acc3f1ca0546e6db58ccf9f3beab8bf4e (diff)
downloadphpicalendar-49cfa70058fc7fab9e3007b93e12139604223958.tar.gz
phpicalendar-49cfa70058fc7fab9e3007b93e12139604223958.tar.bz2
phpicalendar-49cfa70058fc7fab9e3007b93e12139604223958.zip
cal select pulldown
-rw-r--r--functions/calendar_functions.php2
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&amp;getdate=$getdate\" selected=\"selected\">$cal_displayname_tmp</option>";
} else {
$return .= "<option value=\"$current_view.php?cal=$cal_encoded_tmp&amp;getdate=$getdate\">$cal_displayname_tmp</option>";

© 2014-2024 Faster IT GmbH | imprint | privacy policy