aboutsummaryrefslogtreecommitdiffstats
path: root/functions/calendar_functions.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2005-11-30 16:47:53 +0000
committerJim Hu <jimhu@users.sourceforge.net>2005-11-30 16:47:53 +0000
commite107224f83b1b9c39e2fb41dd92e778b5bdf1cc2 (patch)
tree04a502d784acb7722838606d504cbff230c3834f /functions/calendar_functions.php
parent9a55eb6d834ac03de662c66a2b4df2418253bea0 (diff)
downloadphpicalendar-e107224f83b1b9c39e2fb41dd92e778b5bdf1cc2.tar.gz
phpicalendar-e107224f83b1b9c39e2fb41dd92e778b5bdf1cc2.tar.bz2
phpicalendar-e107224f83b1b9c39e2fb41dd92e778b5bdf1cc2.zip
revert change in calendar_functions.
Diffstat (limited to 'functions/calendar_functions.php')
-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 5774b04..8fb08e7 100644
--- a/functions/calendar_functions.php
+++ b/functions/calendar_functions.php
@@ -196,7 +196,7 @@ function getCalendarName($cal_path) {
}
// At this point, just pull the name off the file.
- return basename($cal_path,".ics");
+ return substr(basename($cal_path),0,4);
}
// This function prints out the calendars available to the user, for

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