Closed (fixed)
Project:
Smileys
Version:
6.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jul 2008 at 06:48 UTC
Updated:
17 Dec 2008 at 18:41 UTC
In drupal 6, the right way to redirect a form after it got submitted changed.
As reported by the documentation:
To determine where the user should be sent after the form is processed, the _submit function can place a path or URL in $form_state['redirect'] which will be the target of a drupal_goto; every form is redirected after a submit. If you store nothing in $form_state['redirect'], the form will simply be redirected to itself after a submit. It is polite to use drupal_set_message() to explain to the user that the submission was successful.
Comments
Comment #1
avpadernoComment #2
Gurpartap Singh commentedFixed in CVS! Thanks!