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 |
Jump to:
Description
Solution: change "function todolist_add_task_form(&$node)" to "function todolist_add_task_form(&form, $node)"
IT WORKS!

#1
Sorry forgot the $.
That's correct: function todolist_add_task_form(&$form, $node)
#2
yep, thanks for the suggestion
actually &$form_state, but changed on beta1 in both add and edit task forms
#3
Automatically closed -- issue fixed for 2 weeks with no activity.