diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2014-09-05 09:41:43 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2014-09-05 09:41:43 -0400 |
commit | e247fb950768ae2c93c49d7b2ba07cb742cfee5f (patch) | |
tree | 5feba30f1408492e0d681015e239c566b0366f47 /GradeBook.tcl | |
parent | 77cf1b55e2dbcb2706f1c6783741d97f4e6e6b7d (diff) | |
download | GradeBook-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-x | GradeBook.tcl | 2 |
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 |