Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: jcmarco commentedThe same patch ported to 5.x-2.0-beta2
Comment #2
jcmarco CreditAttribution: jcmarco commentedComment #3
seutje CreditAttribution: seutje commented2 months and still not rolled into a new beta?
anyway, cheers for the patch
<3
Comment #4
arthurf CreditAttribution: arthurf commentedFixes are committed to CVS, thanks for the patches!
Comment #5
arthurf CreditAttribution: arthurf commented