aboutsummaryrefslogtreecommitdiff
path: root/GradeBook_lib.tcl
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2011-03-08 17:24:01 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2011-03-08 17:24:01 -0500
commit59ef535ebbd4365192ab9c8d14594d274686a4ff (patch)
tree4be5335b69d6b4b311e82285070125dca530a120 /GradeBook_lib.tcl
parent51b44e01d646aa098c5f45c544a7dc717a704a33 (diff)
downloadGradeBook-59ef535ebbd4365192ab9c8d14594d274686a4ff.tar.gz
GradeBook-59ef535ebbd4365192ab9c8d14594d274686a4ff.zip
if DB does not have such element return {}
Ignore-this: 244c545ea8648a29133f69a8c363d023 darcs-hash:20110308222401-067c0-ff65d428288554765f1721b4ff363da0d3a4589f.gz
Diffstat (limited to 'GradeBook_lib.tcl')
-rwxr-xr-xGradeBook_lib.tcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl
index 86636ef..3321127 100755
--- a/GradeBook_lib.tcl
+++ b/GradeBook_lib.tcl
@@ -518,6 +518,7 @@ proc SelectColValue4User { colname user } {
if { $err } {
htmlErrorMsg $errStat
dbg "the following error happen: $errStat" 3
+ set $value {}
}
return $value
}