aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorJason Oster <parasytic@users.sourceforge.net>2010-04-16 22:11:43 +0000
committerJason Oster <parasytic@users.sourceforge.net>2010-04-16 22:11:43 +0000
commit8ed31f03bc6e1ea2c1b5593bee9b8daac5e7b630 (patch)
treef361dc6d679fb6ecc0e006440af753f1363afdaf /functions
parent16417375598266479adb0f916a7c1ee776b81ebf (diff)
downloadphpicalendar-8ed31f03bc6e1ea2c1b5593bee9b8daac5e7b630.tar.gz
phpicalendar-8ed31f03bc6e1ea2c1b5593bee9b8daac5e7b630.tar.bz2
phpicalendar-8ed31f03bc6e1ea2c1b5593bee9b8daac5e7b630.zip
Fix save_parsed_cals using wrong filenames
Diffstat (limited to 'functions')
-rw-r--r--functions/ical_parser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php
index ee1f65b..7572442 100644
--- a/functions/ical_parser.php
+++ b/functions/ical_parser.php
@@ -75,7 +75,7 @@ if ($phpiCal_config->save_parsed_cals == 'yes') {
}
} else {
foreach ($cal_filelist as $filename) {
- $parsedcal = $phpiCal_config->tmp_dir.'/parsedcal-'.urlencode($cpath.'::'.$cal_filename).'-'.$this_year;
+ $parsedcal = $phpiCal_config->tmp_dir.'/parsedcal-'.urlencode($cpath.'::'.$filename).'-'.$this_year;
if (file_exists($parsedcal)) {
$parsedcal_mtime = filemtime($parsedcal);

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