I just discovered this tonight the hard way. ;) In addition to _submit and _validate functions' arguments having changed, pre_render's functions' have as well.
What used to be x_prerender($form_id, $form) should now be just x_prerender($form) (or $elements, if you want to use the same nomenclature as drupal_render()).
I made an attempt at documenting this at http://drupal.org/node/144132#pre-render, so at least there's something to link to about it.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | coder_223162.patch | 1.82 KB | stella |
Comments
Comment #1
stella commentedTry the attached patch.
Cheers,
Stella
Comment #2
webchickThat takes care of it! :)
Comment #3
stella commentedCommitted to 5.x and 6.x versions.
Cheers,
Stella
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.