Index: openacs-4/packages/evaluation/www/admin/evaluations/grades-sheet-parse.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/evaluation/www/admin/evaluations/grades-sheet-parse.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/evaluation/www/admin/evaluations/grades-sheet-parse.tcl 10 Sep 2004 19:16:31 -0000 1.8 +++ openacs-4/packages/evaluation/www/admin/evaluations/grades-sheet-parse.tcl 14 Sep 2004 21:44:11 -0000 1.9 @@ -73,7 +73,7 @@ set evaluation [split $clean_line ","] if { $line_number == 3 } { - set max_grade [string trim [lindex $evaluation 1]] + set max_grade [string trim [template::util::leadingTrim [lindex $evaluation 1]]] if { ![ad_var_type_check_number_p $max_grade] } { ad_return_error "Invalid Max Grade" "Max Grade does not seem to be a real number. Please don't leave it blank." return @@ -99,7 +99,7 @@ set party_id [string trim [lindex $evaluation 0]] set party_name [db_string get_party_name { *SQL* }] - set grade [string trim [lindex $evaluation 2]] + set grade [string trim [template::util::leadingTrim [lindex $evaluation 2]]] set comments [string trim [lindex $evaluation 3]] # removing the first and last " that comes from the csv format