aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2014-03-27 22:02:39 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2014-03-27 22:02:39 -0400
commit6c4e3f07d61655e3109f58b2851ae4a5ae3ebe9d (patch)
treefac6884b21bf0eb9d1e71c1b50d13e7bd3752940
parente9fcd4652fd302ed85f5c7453deec626c69fa9cc (diff)
downloadGradeBook-6c4e3f07d61655e3109f58b2851ae4a5ae3ebe9d.tar.gz
GradeBook-6c4e3f07d61655e3109f58b2851ae4a5ae3ebe9d.zip
Small logic simplification
-rwxr-xr-xGradeBook_lib.tcl4
1 files changed, 1 insertions, 3 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl
index a5a06b4..ccca241 100755
--- a/GradeBook_lib.tcl
+++ b/GradeBook_lib.tcl
@@ -1027,11 +1027,9 @@ proc htmlDBout {db permission_list user {sort_col {}}} {
set v_array_list [array get v]
htmlGradesTableHeadersRaw $permission_list $user $sql_column_str $hidden_columns $v_array_list
htmlFormatMaxPossibleRaw $sql_column_str $hidden_columns
- puts "<tr>"
- } else {
- puts "<tr>"
}
+ puts "<tr>"
if { [info exist v(UserName)] } {
set user_shown [htmlReplaceEmptyString $v(UserName)]
} else {