Needs review
Project:
Content Construction Kit (CCK)
Version:
6.x-3.x-dev
Component:
content.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Oct 2011 at 00:23 UTC
Updated:
21 Oct 2011 at 00:23 UTC
content_add_more_js creates a form but doesn't give it an '#id' field before passing it through drupal_alter. This confuses modules that expect '#id' to be present, generating a PHP notice whenever this function is used to add an entry to a multiple-value field. The attached patch fixes this by adding a hard-coded #id value.
| Comment | File | Size | Author |
|---|---|---|---|
| cck_add_more_form_id.patch | 609 bytes | cotto |