Diff for /loncom/homework/grades.pm between versions 1.582 and 1.583

version 1.582, 2009/12/09 17:53:55 version 1.583, 2009/12/09 19:41:10
Line 7386  sub scantron_validate_doublebubble { Line 7386  sub scantron_validate_doublebubble {
     #get scantron line setup      #get scantron line setup
     my %scantron_config=&get_scantron_config($env{'form.scantron_format'});      my %scantron_config=&get_scantron_config($env{'form.scantron_format'});
     my ($scanlines,$scan_data)=&scantron_getfile();      my ($scanlines,$scan_data)=&scantron_getfile();
     &scantron_get_maxbubble(); # parse needs the bubble line array.      my $nav_error;
       &scantron_get_maxbubble(\$nav_error); # parse needs the bubble line array.
       if ($nav_error) {
           $r->print(&navmap_errormsg());
           return(1,$currentphase);
       }
   
     for (my $i=0;$i<=$scanlines->{'count'};$i++) {      for (my $i=0;$i<=$scanlines->{'count'};$i++) {
  my $line=&scantron_get_line($scanlines,$scan_data,$i);   my $line=&scantron_get_line($scanlines,$scan_data,$i);
Line 7626  SCANTRONFORM Line 7631  SCANTRONFORM
         return '';          return '';
     }      }
   
     &scantron_get_maxbubble(); # Need the bubble lines array to parse.  
   
   
     # If an ssi failed in scantron_get_maxbubble, put an error message out to      # If an ssi failed in scantron_get_maxbubble, put an error message out to
     # the user and return.      # the user and return.
   

Removed from v.1.582  
changed lines
  Added in v.1.583


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>