The settings form is not (correctly) saving values do to a few issues with the system settings from:
- The $form['swfobject_api_settings'] fieldset is causing the swfoa_version and swfoa_express variables to be stored as an array of values named swfobject_api_settings
- The default value for the swfoa_version field is being set to swfoa_express.
- An extra submit button is being added to the form due to the inclusion of an unneeded $form['submit'] definiton in the form.
This patch fixes all of these issues with the form.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | swfobject_api-5.x-2.0-beta2.patch | 1.31 KB | jcmarco |
| swfobject_api-5.x-1.x.patch | 1.46 KB | jsenich |
Comments
Comment #1
jcmarco commentedThe same patch ported to 5.x-2.0-beta2
Comment #2
jcmarco commentedComment #3
seutje commented2 months and still not rolled into a new beta?
anyway, cheers for the patch
<3
Comment #4
arthurf commentedFixes are committed to CVS, thanks for the patches!
Comment #5
arthurf commented