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 |