aboutsummaryrefslogtreecommitdiffstats
path: root/functions/calendar_functions.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2005-12-02 17:25:08 +0000
committerJim Hu <jimhu@users.sourceforge.net>2005-12-02 17:25:08 +0000
commita4852d4127d027ea6036cdb8c12985ae023860d5 (patch)
treeb366690c7a978cec07b288d2a2ad5b76df5209d8 /functions/calendar_functions.php
parent7f4ff5912756fdc15dbb59ed7fcd97479c389c72 (diff)
downloadphpicalendar-a4852d4127d027ea6036cdb8c12985ae023860d5.tar.gz
phpicalendar-a4852d4127d027ea6036cdb8c12985ae023860d5.tar.bz2
phpicalendar-a4852d4127d027ea6036cdb8c12985ae023860d5.zip
fix typo in last revert..need the minus sign
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 8fb08e7..3f40116 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 substr(basename($cal_path),0,4);
+ 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