Index: openacs-4/packages/assessment/tcl/as-section-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/tcl/as-section-procs.xql,v diff -u -r1.9 -r1.10 --- openacs-4/packages/assessment/tcl/as-section-procs.xql 19 Jan 2005 16:49:14 -0000 1.9 +++ openacs-4/packages/assessment/tcl/as-section-procs.xql 23 Jan 2005 18:10:48 -0000 1.10 @@ -86,13 +86,17 @@ - + - update as_section_data - set points = :section_points - where session_id = :session_id - and section_id = :section_id + select i.as_item_id + from as_session_items i + where i.session_id = :session_id + and i.section_id = :section_id + and i.as_item_id not in (select d.as_item_id + from as_item_data d + where d.session_id = :session_id + and d.section_id = :section_id)