Index: openacs-4/contrib/packages/project-manager/www/task-add-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/www/Attic/task-add-edit.tcl,v diff -u -r1.27.2.26 -r1.27.2.27 --- openacs-4/contrib/packages/project-manager/www/task-add-edit.tcl 14 May 2005 12:06:17 -0000 1.27.2.26 +++ openacs-4/contrib/packages/project-manager/www/task-add-edit.tcl 15 Jun 2005 18:42:23 -0000 1.27.2.27 @@ -24,6 +24,7 @@ @param new_tasks if we are creating new tasks, how many to create } { {task_item_id:integer,multiple ""} + {task_id:integer,multiple ""} {project_item_id:integer ""} {process_id:integer ""} {process_task_id:integer,multiple ""} @@ -42,6 +43,11 @@ set user_id [ad_maybe_redirect_for_registration] set package_id [ad_conn package_id] +# Ugly hack to fix the variable renaming that occurred in tasks.tcl +if {![empty_string_p $task_id]} { + set task_item_id $task_id +} + # use hour units or day units set use_day_p [parameter::get -parameter "UseDayInsteadOfHour" -default "t"] set hours_day [pm::util::hours_day]