aboutsummaryrefslogtreecommitdiffstats
path: root/preferences.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2009-01-07 20:20:03 +0000
committerJim Hu <jimhu@users.sourceforge.net>2009-01-07 20:20:03 +0000
commit73d433f17d349cb2a3c8084d4ac5cecf650afb04 (patch)
tree0650f3e780f4a21de2c085827e51db3659ff8f47 /preferences.php
parent2434deaf0d0dc46a0deebd523f5bb2c3204bbc9a (diff)
downloadphpicalendar-73d433f17d349cb2a3c8084d4ac5cecf650afb04.tar.gz
phpicalendar-73d433f17d349cb2a3c8084d4ac5cecf650afb04.tar.bz2
phpicalendar-73d433f17d349cb2a3c8084d4ac5cecf650afb04.zip
timeformat serialization needed urlencode/decode?
Diffstat (limited to 'preferences.php')
-rw-r--r--preferences.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/preferences.php b/preferences.php
index ad7e015..8d590ce 100644
--- a/preferences.php
+++ b/preferences.php
@@ -159,7 +159,7 @@ $timeformat_arr = array(
$example_time = strtotime("19700101 08:00:00");
foreach ($timeformat_arr as $i => $s) {
$s = date($timeformat_arr[$i], $example_time)."/".date($timeformat_arr[$i], ($example_time + 12*60*60));
- $timeformat_select .= '<option value="'.$timeformat_arr[$i].'"';
+ $timeformat_select .= '<option value="'.urlencode($timeformat_arr[$i]).'"';
if ($timeformat_arr[$i] == $cookie_timeformat) {
$timeformat_select .= ' selected="selected"';
}

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