Index: openacs-4/packages/simulation/lib/sim-template-tasks.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/sim-template-tasks.tcl,v diff -u -r1.11 -r1.12 --- openacs-4/packages/simulation/lib/sim-template-tasks.tcl 11 Dec 2003 13:21:52 -0000 1.11 +++ openacs-4/packages/simulation/lib/sim-template-tasks.tcl 15 Dec 2003 15:28:20 -0000 1.12 @@ -183,12 +183,11 @@ wa.sort_order, wa.always_enabled_p, wfa.new_state - from workflow_actions wa, - workflow_fsm_actions wfa, - sim_tasks st + from workflow_actions wa left outer join + sim_tasks st on (st.task_id = wa.action_id), + workflow_fsm_actions wfa where wa.workflow_id = :workflow_id - and wfa.action_id = wa.action_id - and st.task_id = wa.action_id + and wfa.action_id = wa.action_id order by wa.sort_order " { set edit_url [export_vars -base "[apm_package_url_from_id $package_id]simbuild/task-edit" { action_id }]