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

IT WORKS!

Comments

s8inac’s picture

Sorry forgot the $.

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

marvil07’s picture

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

Status: Fixed » Closed (fixed)

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