aboutsummaryrefslogtreecommitdiff
path: root/GradeBook.tcl
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2014-09-05 09:41:43 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2014-09-05 09:41:43 -0400
commite247fb950768ae2c93c49d7b2ba07cb742cfee5f (patch)
tree5feba30f1408492e0d681015e239c566b0366f47 /GradeBook.tcl
parent77cf1b55e2dbcb2706f1c6783741d97f4e6e6b7d (diff)
downloadGradeBook-e247fb950768ae2c93c49d7b2ba07cb742cfee5f.tar.gz
GradeBook-e247fb950768ae2c93c49d7b2ba07cb742cfee5f.zip
db set moved forward so DB can be used in the html header constructor
Diffstat (limited to 'GradeBook.tcl')
-rwxr-xr-xGradeBook.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/GradeBook.tcl b/GradeBook.tcl
index 9c785f6..6bd6b52 100755
--- a/GradeBook.tcl
+++ b/GradeBook.tcl
@@ -83,9 +83,9 @@ dbg "[timestamp] requested action $action by user $user_requested DB $coursedbfn
set dbfile "$GradebookServerConfig(grades_db_dir)/$coursedbfname"
if { [file exists $dbfile] && ("$coursedbfname" ne "") } {
+ sqlite3 db $dbfile
htmlHeader
puts "<body>"
- sqlite3 db $dbfile
set permission_list [ AccessGroupRights db $user ]
htmlTop $permission_list