aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2014-03-28 19:13:08 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2014-03-28 19:13:08 -0400
commit8021e691f4c0fd9a362f642fefd8bb6b41d09b06 (patch)
tree11bf5736cf8b8db29ae6ae353267c8aae8e997ea
parentb2b1294e97634c0b9fdd8ec71f5d2e4d04b6f2f3 (diff)
downloadGradeBook-8021e691f4c0fd9a362f642fefd8bb6b41d09b06.tar.gz
GradeBook-8021e691f4c0fd9a362f642fefd8bb6b41d09b06.zip
inforow added to table with check of their existence
-rwxr-xr-xGradeBook_lib.tcl10
1 files changed, 5 insertions, 5 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl
index 12d044c..c9581f7 100755
--- a/GradeBook_lib.tcl
+++ b/GradeBook_lib.tcl
@@ -746,11 +746,11 @@ proc CreateGradesTable {db} {
}
# add special users aka special info rows
- AddUserNonWeb {} {} _Col_Category_ inforow
- AddUserNonWeb {} {} _Max_Points_ inforow
- AddUserNonWeb {} {} _Visible_To_Students_ inforow
- AddUserNonWeb {} {} _The_Highest_Grade_ inforow
- AddUserNonWeb {} {} _The_Lowest_Grade_ inforow
+ CheckAndCreateAsNeededInfoRow _Col_Category_
+ CheckAndCreateAsNeededInfoRow _Max_Points_
+ CheckAndCreateAsNeededInfoRow _Visible_To_Students_
+ CheckAndCreateAsNeededInfoRow _The_Highest_Grade_
+ CheckAndCreateAsNeededInfoRow _The_Lowest_Grade_
# reasonable defaults for hidden columns
#set instructor_hidden_columns [list UserHiddenColums UserHiddenGroups IdNum]