Incorrect use of form api

NikLP - November 28, 2008 - 15:57
Project:Auto Assign Role
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hey :)

There's several places in the code where $form_values is used. This is deprecated as of D6, and should be replaced with &$form_state.

This is certainly the case in all validate and submit functions. See http://api.drupal.org/api/function/block_add_block_form_submit/6 for an example.

Hope that helps,
Nik

#1

cyberswat - August 18, 2009 - 19:30
Status:active» fixed

:P This is in the dev branch

#2

System Message - September 1, 2009 - 19:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.