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.
Because of $form['#redirect'] is bad ??? ... Yet the Path looks correct, I do not understand :/
Comment | File | Size | Author |
---|---|---|---|
#4 | 1682964-4.patch | 839 bytes | lokapujya |
Comments
Comment #1
tanmayk$form['#redirect'] is not supported in D7, instead it should be $form_state['redirect'] in submit handler.
Please do have a look at Form API references for more details.
Here is the patch:
Regards,
Tanmay
Comment #2
nibo CreditAttribution: nibo commented+1
The same problem here! Came up with the same patch as in #1. Works fine!
Just wondering, why the patch is not commited yet?
Comment #3
lokapujyaComment #4
lokapujyaRe-rolled the pasted patch
Comment #5
lokapujyaduplicate.
Comment #6
DamienMcKennaGood to go.
Comment #8
Nafes CreditAttribution: Nafes as a volunteer commentedFixed. Thanks to all!