Index: openacs-4/packages/assessment/tcl/as-checks-procs.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/tcl/as-checks-procs.xql,v
diff -u -N -r1.14 -r1.15
--- openacs-4/packages/assessment/tcl/as-checks-procs.xql 28 Feb 2005 22:31:58 -0000 1.14
+++ openacs-4/packages/assessment/tcl/as-checks-procs.xql 28 Feb 2005 22:46:22 -0000 1.15
@@ -106,13 +106,13 @@
- select c.inter_item_check_id from as_inter_item_checks c ,as_action_map am where c.inter_item_check_id=am.inter_item_check_id and am.order_by=:order and c.section_id_from=:section_id and am.action_perform=:action_perform
+ select c.inter_item_check_id from as_inter_item_checks c ,as_action_map am where c.inter_item_check_id=am.inter_item_check_id and am.order_by=:order_p and c.section_id_from=:section_id and am.action_perform=:action_perform
- update as_action_map set order_by=:order where inter_item_check_id=:check_id
+ update as_action_map set order_by=:order_p where inter_item_check_id=:check_id
@@ -124,12 +124,12 @@
- select c.inter_item_check_id from as_inter_item_checks c,as_action_map am where c.inter_item_check_id=am.inter_item_check_id and am.order_by=:order and c.section_id_from=:section_id and am.action_perform=:action_perform
+ select c.inter_item_check_id from as_inter_item_checks c,as_action_map am where c.inter_item_check_id=am.inter_item_check_id and am.order_by=:order_p and c.section_id_from=:section_id and am.action_perform=:action_perform
- update as_action_map set order_by=:order where inter_item_check_id=:check_id
+ update as_action_map set order_by=:order_p where inter_item_check_id=:check_id