Superfluous example code in 5.x to 6.x FormAPI guide
Freso - May 8, 2008 - 18:26
| Project: | Documentation |
| Component: | Developer Guide |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
The Submit handlers use $form_state rather than returning urls section of the Drupal 5.x to 6.x FormAPI changes page has a superfluous line in the sample Drupal 6, $form_state['nid'] = $node->nid;, which (judging by core code usage) isn't needed, and thus only causes confusion for porters.
