Wrong check in if statement results in fatal error:

Cannot use string offset as an array in sites/all/modules/patched/redhen/modules/redhen_contact/includes/redhen_contact.forms.inc on line 89

CommentFileSizeAuthor
fatal_error_on_contact_update.patch854 bytesmuschpusch

Comments

levelos’s picture

Status: Needs review » Postponed (maintainer needs more info)

I can't recreate this error and I'm not sure I understand the patch. $email['options']['default'] will always be 0 or 1 so not sure we need the empty() check. Can you clarify? Thanks.

seanberto’s picture

Status: Postponed (maintainer needs more info) » Fixed

The email options have been flattened in #2023893: E-mail field should better collapse options fieldset. I cannot reproduce this issue with the change. Marking as fixed for now, but please feel free to retest and reopen if necessary.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

typo