diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2014-03-27 22:02:39 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2014-03-27 22:02:39 -0400 |
commit | 6c4e3f07d61655e3109f58b2851ae4a5ae3ebe9d (patch) | |
tree | fac6884b21bf0eb9d1e71c1b50d13e7bd3752940 /GradeBook_lib.tcl | |
parent | e9fcd4652fd302ed85f5c7453deec626c69fa9cc (diff) | |
download | GradeBook-6c4e3f07d61655e3109f58b2851ae4a5ae3ebe9d.tar.gz GradeBook-6c4e3f07d61655e3109f58b2851ae4a5ae3ebe9d.zip |
Small logic simplification
Diffstat (limited to 'GradeBook_lib.tcl')
-rwxr-xr-x | GradeBook_lib.tcl | 4 |
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 { |