Index: openacs-4/packages/simulation/lib/cases.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/cases.tcl,v diff -u -r1.10 -r1.11 --- openacs-4/packages/simulation/lib/cases.tcl 12 Jan 2004 15:52:44 -0000 1.10 +++ openacs-4/packages/simulation/lib/cases.tcl 22 Jan 2004 15:47:23 -0000 1.11 @@ -64,6 +64,7 @@ and wa2.action_id = wcea2.action_id and wcrpm2.role_id = wa2.assigned_role and wcrpm2.party_id = :party_id + and wcrpm2.role_id = r.role_id and wcrpm2.case_id = wc.case_id) as num_user_tasks from workflow_cases wc, sim_cases sc,