From 8ed31f03bc6e1ea2c1b5593bee9b8daac5e7b630 Mon Sep 17 00:00:00 2001 From: Jason Oster Date: Fri, 16 Apr 2010 22:11:43 +0000 Subject: Fix save_parsed_cals using wrong filenames --- functions/ical_parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions') 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); -- cgit v1.2.3