add task form doesn't get nid

s8inac - February 26, 2009 - 19:31
Project:Todolist
Version:6.x-1.0-beta1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Solution: change "function todolist_add_task_form(&$node)" to "function todolist_add_task_form(&form, $node)"

IT WORKS!

#1

s8inac - February 27, 2009 - 16:58

Sorry forgot the $.

That's correct: function todolist_add_task_form(&$form, $node)

#2

marvil07 - October 8, 2009 - 20:44
Version:6.x-1.x-dev» 6.x-1.0-beta1
Status:active» fixed

yep, thanks for the suggestion

actually &$form_state, but changed on beta1 in both add and edit task forms

#3

System Message - October 22, 2009 - 20:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.