aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2013-12-08 20:37:13 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2013-12-08 20:37:13 -0500
commit4786dc137a5e861f10ccf68c581c3dfb46ae1252 (patch)
tree492ade433ae501c729a5dceabcfb62e4f7b1b034
parentf31a176a808dd64b9bab4cf9a925c2fcaf6d3aed (diff)
downloadGradeBook-4786dc137a5e861f10ccf68c581c3dfb46ae1252.tar.gz
GradeBook-4786dc137a5e861f10ccf68c581c3dfb46ae1252.zip
UpdateGradesCategores updated NumberToDrop column
-rwxr-xr-xGradeBook_lib.tcl3
1 files changed, 3 insertions, 0 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl
index 43bcb0b..6b7827d 100755
--- a/GradeBook_lib.tcl
+++ b/GradeBook_lib.tcl
@@ -609,6 +609,9 @@ proc UpdateGradesCategores { db permission_list user } {
} else {
ModifyNeedsTotalForGradesCategory db $v(CategoryName) false
}
+ if { [info exist colval($v(CategoryName)_NumberToDrop)] } {
+ ModifyNumberOfLowestGradesToDropGradesCategory db $v(CategoryName) $colval($v(CategoryName)_NumberToDrop)
+ }
}
} errStat ]
if { $err } {