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
| Comment | File | Size | Author |
|---|---|---|---|
| fatal_error_on_contact_update.patch | 854 bytes | muschpusch |
Comments
Comment #1
levelos commentedI 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 theempty()check. Can you clarify? Thanks.Comment #2
seanberto commentedThe 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.
Comment #3.0
(not verified) commentedtypo