Active
Project:
Comment Login
Version:
6.x-1.0
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2011 at 14:38 UTC
Updated:
10 Feb 2011 at 14:38 UTC
In comment_login_form_alter() is the module passing NULL as $form_state to hook_form_alter() in line 64. This is causing a fatal error with modules that require $form_state to be an array, for example xmlsitemap 6.x-2.0-beta2 (xmlsitemap_node.module line 161).
The attached patch is changing $null to be an array() which solves the conflict with xmlsitemap_node.module.
| Comment | File | Size | Author |
|---|---|---|---|
| 2011_02_10_form_alter.patch | 921 bytes | beltofte |