diff options
author | Wesley Miaw <josuah@users.sourceforge.net> | 2005-12-15 03:26:31 +0000 |
---|---|---|
committer | Wesley Miaw <josuah@users.sourceforge.net> | 2005-12-15 03:26:31 +0000 |
commit | 99509f3f2327133a94e2f279ca6350a5213d2192 (patch) | |
tree | 5b5bbf0817a388dea34d1324be5a3d41b6479b27 /functions/list_functions.php | |
parent | c4d545cc025c75e30a2208d7cf2140ab9032d6b9 (diff) | |
download | phpicalendar-99509f3f2327133a94e2f279ca6350a5213d2192.tar.gz phpicalendar-99509f3f2327133a94e2f279ca6350a5213d2192.tar.bz2 phpicalendar-99509f3f2327133a94e2f279ca6350a5213d2192.zip |
Fixed getCalendarName() return value so it removes .ics and not the last
four characters arbitrarily. Fixed the list_jumps() method so it only
passes in one calendar at a time to getCalendarName.
Diffstat (limited to 'functions/list_functions.php')
-rw-r--r-- | functions/list_functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/list_functions.php b/functions/list_functions.php index a14f5f6..875a44b 100644 --- a/functions/list_functions.php +++ b/functions/list_functions.php @@ -2,7 +2,7 @@ function list_jumps() { global $second_offset, $lang, $cal; - $calName = getCalendarName($cal); + $calName = join(',', array_map("getCalendarName", split(',', $cal))); $today = date('Ymd', time() + $second_offset); $return = '<option value="#">'.$lang['l_jump'].'</option>'; $return .= '<option value="day.php?cal='.$calName.'&getdate='.$today.'">'.$lang['l_goday'].'</option>'; |