Index: openacs-4/packages/assessment/tcl/as-session-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/tcl/as-session-procs.tcl,v diff -u -r1.13 -r1.13.2.1 --- openacs-4/packages/assessment/tcl/as-session-procs.tcl 25 Jan 2018 12:23:47 -0000 1.13 +++ openacs-4/packages/assessment/tcl/as-session-procs.tcl 13 Sep 2022 13:19:23 -0000 1.13.2.1 @@ -33,7 +33,7 @@ # # Check to see if there's a session already to not submit another one # db_0or1row as_session_last {SELECT session_id AS as_session_id FROM as_sessionsx WHERE subject_id = :subject_id AND assessment_id = :assessment_id} -# if { ! [info exists as_session_id] } { +# if { ! [info exists as_session_id] } { # Insert as_session in the CR (and as_sessions table) getting the revision_id (session_id) set transaction_successful_p 0 @@ -142,9 +142,9 @@ based on how long the user took to submit the specified section @author Dave Bauer (dave@solutiongrove.com) - + @param session_id - @param section_id + @param section_id } { set last_viewed "" @@ -157,7 +157,7 @@ } else { set elapsed_seconds 600 } - } + } if {$last_viewed ne ""} { set last_seconds [clock scan $last_viewed]