diff options
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | functions/ical_parser.php | 6 |
2 files changed, 8 insertions, 2 deletions
@@ -93,6 +93,8 @@ Changes: More ICS input sanitizing; prevent HTML/XSS injection Bug fixes: Webcal caching now works like local caching with save_parsed_cals + Performance improvements with remote calendars; reducing the number + of file reads/HTTP requests made for each calendar Print view missing some events Setting time format in preferences page Default calendar selections in listbox picker @@ -104,8 +106,10 @@ Changes: Recurring events across multiple versions of PHP; thanks to Len and gueba! Better handling of URLs and email addresses in event descriptions Navigation forms breaking PHP transparent SID + Fix strange characters displayed in Locations with % characters New features: Event information displayed with Nice Titles + Fixes line breaks and some HTML in event tooltips Attendee/organizer parsing and email address hyperlinking Better display of tabs/line breaks in calendar events Strip "blocked" protocols, added by some mail servers diff --git a/functions/ical_parser.php b/functions/ical_parser.php index 36b2b3e..61e2587 100644 --- a/functions/ical_parser.php +++ b/functions/ical_parser.php @@ -63,7 +63,8 @@ if ($phpiCal_config->save_parsed_cals == 'yes') { // At this point, all calendars are up-to-date, so we can simply used the pre-parsed data $parse_file = false; $calendar_name = $master_array['calendar_name']; - $calendar_tz = $master_array['calendar_tz']; + if (isset($master_array['calendar_tz'])) + $calendar_tz = $master_array['calendar_tz']; } } } @@ -94,7 +95,8 @@ if ($phpiCal_config->save_parsed_cals == 'yes') { if ($master_array['-1'] == 'valid cal file') { $parse_file = false; $calendar_name = $master_array['calendar_name']; - $calendar_tz = $master_array['calendar_tz']; + if (isset($master_array['calendar_tz'])) + $calendar_tz = $master_array['calendar_tz']; } } } |