I'm using:
Webform 6.x-3.18
Form builder 6.x-1.1
Options element 6.x-1.7
jQuery UI 6.x-1.5
And I get this error:
Missing argument 4 for form_builder_property_options_form(), called in xxx/drupal/sites/all/modules/form_builder/modules/webform/form_builder_webform.components.inc on line 747 and defined a xxx/drupal/sites/all/modules/form_builder/includes/form_builder.properties.inc a la línia 181.
Any ideas?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | form_builder_options_property.patch | 800 bytes | quicksketch |
| #2 | form_builder_property-1720528.patch | 795 bytes | oriol_e9g |
Comments
Comment #1
oriol_e9gOK! I have found the problem:
form_builder.properties.inc on line 181.
form_builder_webform.components.inc on line 747.
The $property var it's not used in the function, so, this seems that it's not needed but we need to pass and argument to call the function. :/
Comment #2
oriol_e9gComment #3
quicksketchThanks! Nice find. That last parameter should be the string "options" though, since that's the property name being edited. That said, you're right that it's not used in that particular form callback anyway so passing in NULL works just as well. I've committed this patch that passes in the proper string so it doesn't cause some unexpected problem in the future.
Comment #4
quicksketch