Closed (won't fix)
Project:
Coder
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2008 at 06:43 UTC
Updated:
30 Dec 2014 at 18:35 UTC
Jump to comment: Most recent
As mentioned at http://drupal.org/node/144132#comment-643920, if your menu item's page callback is set to 'drupal_get_form' and it's passed another function name as the argument, that other function needs to have $form_state listed as its first parameter, or you get all kinds of wacky results.
This might not be something Coder can actually check for, as I don't know that there's a universal way to tell whether a function is a form builder function or not.
Comments
Comment #1
klausiCoder for Drupal 6 is now frozen and only security fixes will be applied. Feel free to update this issue and reopen against 7.x-2.x or 8.x-2.x.