Active
Project:
Node Widget
Version:
6.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Mar 2012 at 18:17 UTC
Updated:
19 Mar 2012 at 18:17 UTC
The implementation of hook_form_alter in node_widget.form.inc fires for all forms, and calls node_widget_get_fields(). That function looks at $form['type'] which may note be set, causing PHP notices. It also runs through a loop un-necessarily. causing performance problems. Patch attached which fixes this.
| Comment | File | Size | Author |
|---|---|---|---|
| node_widget.patch | 873 bytes | lambic |