From 99509f3f2327133a94e2f279ca6350a5213d2192 Mon Sep 17 00:00:00 2001 From: Wesley Miaw Date: Thu, 15 Dec 2005 03:26:31 +0000 Subject: 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. --- functions/list_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions/list_functions.php') 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 = ''; $return .= ''; -- cgit v1.2.3