Index: openacs-4/contrib/packages/simulation/www/simbuild/task-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simbuild/Attic/task-edit.tcl,v diff -u -r1.21 -r1.22 --- openacs-4/contrib/packages/simulation/www/simbuild/task-edit.tcl 9 Jan 2004 09:37:50 -0000 1.21 +++ openacs-4/contrib/packages/simulation/www/simbuild/task-edit.tcl 9 Jan 2004 10:28:00 -0000 1.22 @@ -119,7 +119,8 @@ } } -if { [string equal [element get_value task task_type] "workflow"] || [exists_and_equal task_type "workflow"] } { +if { [string equal [element get_value task task_type] "workflow"] || \ + ([empty_string_p [element get_value task task_type]] && [exists_and_equal task_type "workflow"]) } { set child_workflow_id [element get_value task child_workflow_id] if { [empty_string_p $child_workflow_id] } { if { [exists_and_not_null task_array(child_workflow_id)] } {