Closed (fixed)
Project:
Advanced Poll
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2010 at 22:36 UTC
Updated:
20 Jun 2010 at 20:00 UTC
The D6 standard name for body field is:
$form['body_field']['body'] = array(
You're using:
$form['body_filter']['body'] = array(
Modules that modify body settings won't be able to apply this on your field instance - including i18n. Please rename to original. Patch applied.
| Comment | File | Size | Author |
|---|---|---|---|
| advpoll_body.patch | 819 bytes | miro_dietiker |
Comments
Comment #1
miro_dietikerneeds review then.
Note: this identifier has absolutely no usage in advpoll so it's trivial to rename it.
Comment #2
miro_dietikerFYI:
This naming changed from D5 to D6, see:
http://api.drupal.org/api/function/node_example_form/5
http://api.drupal.org/api/function/node_example_form/6
Comment #3
dawehnerLooks fine.
But i didn't tested the code
Comment #4
Marat commentedI tested it using Firebug extension for Drupal and it seems the name is changed. Thank you
Comment #5
miro_dietikerAssigning this to my current bugfix cycle.
Comment #6
miro_dietikerfixed in cvs leading to rev 1.21.2.88.2.25