Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | fix-undefined-index-tz-2844948-2.patch | 549 bytes | jiv_e |
Comments
Comment #2
jiv_e CreditAttribution: jiv_e as a volunteer and at LilDrop Consulting commentedHere's a patch. This just adds check for undefined index.
Comment #3
jiv_e CreditAttribution: jiv_e as a volunteer and at LilDrop Consulting commentedComment #5
DamienMcKennaThis is a good catch, thank you.