Closed (fixed)
Project:
Workflow
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2006 at 20:10 UTC
Updated:
10 May 2006 at 19:46 UTC
In the current formsapi model, directly using drupal_goto on your _submit is wrong; instead, return the location to go to.
This turns out to be a problem for me since form_alter can't accept additional data in other _submit functions because that drupal_goto effectively ends execution.
| Comment | File | Size | Author |
|---|---|---|---|
| submit_goto_0.patch | 2.4 KB | merlinofchaos |
Comments
Comment #1
merlinofchaos commentedIn case you're wondering why I care about form_alter:
http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/modules/na...
Comment #2
jvandyk commentedCommitted. Thanks.
Comment #3
(not verified) commented