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.
During the forms API conversion, the call to drupal_goto($_GET['q']) in system_settings_save() (which became system_settings_form_submit()) got lost. This call is necessary to allow the user to refresh after submitting, and to make sure all modified variables immediately take effect on the result page.
I don't have time to check if this breaks any forms (though it shouldn't, because it used to work like this before).
Comment | File | Size | Author |
---|---|---|---|
goto.patch | 445 bytes | Steven | |
Comments
Comment #1
chx CreditAttribution: chx commentedGood thing, totally adheres to the form API workflow, one small complaint: patch was missing the -F^f part (or -p). I usually do not complain for this (what's more, I usually reroll patches which are not formal) but...
Comment #2
Steven CreditAttribution: Steven commentedSorry about the F^f, but I did mention the function in the description ;).
Committed to HEAD.
Comment #3
Steven CreditAttribution: Steven commentedComment #4
(not verified) CreditAttribution: commented