aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-08-24 23:14:59 +0000
committerChad Little <clittle@users.sourceforge.net>2004-08-24 23:14:59 +0000
commitdde1be36475279c3d9bf3cb59094d4dfe89b2543 (patch)
treeba2330ae8dfbe71e6393de56be70d32a4a7ada4f /functions
parent9eed6dd3675357feb4bdaeb11487e4b999e000c9 (diff)
downloadphpicalendar-dde1be36475279c3d9bf3cb59094d4dfe89b2543.tar.gz
phpicalendar-dde1be36475279c3d9bf3cb59094d4dfe89b2543.tar.bz2
phpicalendar-dde1be36475279c3d9bf3cb59094d4dfe89b2543.zip
check for webcal line 51.
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 48b61da..917b43c 100644
--- a/functions/ical_parser.php
+++ b/functions/ical_parser.php
@@ -48,7 +48,7 @@ if ($save_parsed_cals == 'yes') {
$mtime = $master_array['-4'][$z]['mtime'];
$fname = $master_array['-4'][$z]['filename'];
$wcalc = $master_array['-4'][$z]['webcal'];
- $realcal_mtime = filemtime($fname);
+ if ($wcalc == 'no') $realcal_mtime = filemtime($fname);
$webcal_mtime = strtotime("now -$webcal_hours hours");
if (($mtime == $realcal_mtime) && ($wcalc == 'no')) {
$y++;

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