--- loncom/homework/grades.pm 2006/03/11 00:08:48 1.332 +++ loncom/homework/grades.pm 2006/03/13 20:26:51 1.333 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.332 2006/03/11 00:08:48 albertel Exp $ +# $Id: grades.pm,v 1.333 2006/03/13 20:26:51 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -5003,7 +5003,7 @@ sub scantron_get_correction { #the previous one or the current one $r->print("

An error was detected ($error)"); - if ( defined($$scan_record{'scantron.PaperID'}) ) { + if ( $$scan_record{'scantron.PaperID'} =~ /\S/) { $r->print(" for PaperID ". $$scan_record{'scantron.PaperID'}." \n"); } else {