Index: openacs-4/contrib/packages/simulation/lib/sim-template-tasks.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/sim-template-tasks.tcl,v
diff -u -r1.22 -r1.23
--- openacs-4/contrib/packages/simulation/lib/sim-template-tasks.tcl 8 Jan 2004 10:53:03 -0000 1.22
+++ openacs-4/contrib/packages/simulation/lib/sim-template-tasks.tcl 8 Jan 2004 13:03:32 -0000 1.23
@@ -111,7 +111,7 @@
lappend states $state_id
} if_no_rows {
lappend elements state_spacer3 {
- label "None. Template will not work until you add states."
+ label "
None. Template will not work until you add states."
sub_class narrow
display_template " "
}
@@ -191,10 +191,9 @@
from workflow_fsm_states
where state_id = wfa.new_state) as new_state_pretty
from workflow_actions wa left outer join
- sim_tasks st on (st.task_id = wa.action_id),
- workflow_fsm_actions wfa
+ sim_tasks st on (st.task_id = wa.action_id) left outer join
+ workflow_fsm_actions wfa on (wfa.action_id = wa.action_id)
where wa.workflow_id = :workflow_id
- and wfa.action_id = wa.action_id
and not exists (select 1
from workflow_initial_action ia
where ia.workflow_id = wa.workflow_id