[LON-CAPA-cvs] cvs: loncom /homework grades.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 31 Aug 2006 20:52:50 -0000
albertel Thu Aug 31 16:52:50 2006 EDT
Modified files:
/loncom/homework grades.pm
Log:
- getting rid of odd the odd 'a' that gets printed
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.372 loncom/homework/grades.pm:1.373
--- loncom/homework/grades.pm:1.372 Wed Aug 16 14:07:25 2006
+++ loncom/homework/grades.pm Thu Aug 31 16:52:48 2006
@@ -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 @@
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='<font color="red">None</font>'; }
+ if ($env{'form.scantron_CODElist'} eq '') { $CODElist='<font color="red">None</font>'; }
$CODElist=
'<tr><td><b>List of CODES to validate against:</b></td><td><tt>'.
- $CODElist.'</tt></td></tr>';
+ $env{'form.scantron_CODElist'}.'</tt></td></tr>';
}
return (<<STUFF);
<p>