--- loncom/homework/grades.pm 2006/08/16 18:07:25 1.372 +++ loncom/homework/grades.pm 2006/08/31 20:52:48 1.373 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.372 2006/08/16 18:07:25 albertel Exp $ +# $Id: grades.pm,v 1.373 2006/08/31 20:52:48 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -4813,15 +4813,15 @@ sub scantron_warning_screen { my ($button_text)=@_; my $title=&Apache::lonnet::gettitle($env{'form.selectpage'}); my %scantron_config=&get_scantron_config($env{'form.scantron_format'}); - my $CODElist="a"; + my $CODElist; if ($scantron_config{'CODElocation'} && $scantron_config{'CODEstart'} && $scantron_config{'CODElength'}) { $CODElist=$env{'form.scantron_CODElist'}; - if ($CODElist eq '') { $CODElist='None'; } + if ($env{'form.scantron_CODElist'} eq '') { $CODElist='None'; } $CODElist= 'List of CODES to validate against:'. - $CODElist.''; + $env{'form.scantron_CODElist'}.''; } return (<