In some circumstances I get this message:

Notice: Undefined index: tz in date_ical_date() (line 624 of drupal_root/sites/all/modules/date/date_api/date_api_ical.inc).

This is because $ical_date['tz'] can be undefined.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jiv_e created an issue. See original summary.

jiv_e’s picture

Here's a patch. This just adds check for undefined index.

jiv_e’s picture

Version: 7.x-2.x-dev » 7.x-2.10-rc1

  • DamienMcKenna committed 82a3d15 on 7.x-2.x authored by jiv_e
    Issue #2844948 by jiv_e: Notice: Undefined index: tz in date_ical_date...
DamienMcKenna’s picture

Version: 7.x-2.10-rc1 » 7.x-2.x-dev
Status: Needs review » Fixed
Parent issue: » #2867810: Plan for Date 7.x-2.11 release

This is a good catch, thank you.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.