Form_submit allowed to be missing parameters

NancyDru - October 2, 2007 - 15:09
Project:Coder
Version:5.x-2.6
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm not sure if this is a bug or if it's considered acceptable practice (it is not to me). I found the following code in a module that I'm getting ready to use. The hook_form_submit is coded without the calling parameters, but uses a global instead.

function weblinks_filter_form_submit() {
global $form_values;

If this is something that should be fixed, feel free to change it to a bug report.

 
 

Drupal is a registered trademark of Dries Buytaert.