Index: openacs-4/packages/lors/tcl/lors-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lors/tcl/lors-procs.tcl,v diff -u -r1.11 -r1.12 --- openacs-4/packages/lors/tcl/lors-procs.tcl 17 Nov 2008 13:35:04 -0000 1.11 +++ openacs-4/packages/lors/tcl/lors-procs.tcl 3 Dec 2008 12:36:42 -0000 1.12 @@ -43,12 +43,7 @@ # page anchor set assessment_id "" set sort_order "" - db_0or1row get_assessment_id \ - "select ci.item_id as assessment_id, sort_order - from cr_items ci, cr_revisions cr, as_assessment_section_map m - where cr.item_id=:object_id - and cr.revision_id=m.section_id - and ci.latest_revision=assessment_id" + db_0or1row get_assessment_id {} return [export_vars \ -base questions \