From 6c4e3f07d61655e3109f58b2851ae4a5ae3ebe9d Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Thu, 27 Mar 2014 22:02:39 -0400 Subject: Small logic simplification --- GradeBook_lib.tcl | 4 +--- 1 file changed, 1 insertion(+), 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 "" - } else { - puts "" } + puts "" if { [info exist v(UserName)] } { set user_shown [htmlReplaceEmptyString $v(UserName)] } else { -- cgit v1.2.3