Diff for /loncom/homework/grades.pm between versions 1.528.2.4 and 1.528.2.5

version 1.528.2.4, 2008/12/24 07:06:08 version 1.528.2.5, 2008/12/24 12:33:28
Line 7349  sub scantron_get_maxbubble { Line 7349  sub scantron_get_maxbubble {
                     my ($numbub,$numshown);                      my ($numbub,$numshown);
                     if ($analysis->{$part_id.'.type'} eq 'optionresponse') {                      if ($analysis->{$part_id.'.type'} eq 'optionresponse') {
                         if (ref($analysis->{$part_id.'.options'}) eq 'ARRAY') {                          if (ref($analysis->{$part_id.'.options'}) eq 'ARRAY') {
                             $numbub = scalar(@{$analysis{$part_id.'.options'}});                              $numbub = scalar(@{$analysis->{$part_id.'.options'}});
                         }                          }
                     } elsif ($analysis->{$part_id.'.type'} eq 'matchresponse') {                      } elsif ($analysis->{$part_id.'.type'} eq 'matchresponse') {
                         if (ref($analysis{$part_id.'.items'}) eq 'ARRAY') {                          if (ref($analysis->{$part_id.'.items'}) eq 'ARRAY') {
                             $numbub = scalar(@{$analysis{$part_id.'.items'}});                              $numbub = scalar(@{$analysis->{$part_id.'.items'}});
                         }                          }
                     } elsif ($analysis->{$part_id.'.type'} eq 'rankresponse') {                      } elsif ($analysis->{$part_id.'.type'} eq 'rankresponse') {
                         if (ref($analysis->{$part_id.'.foils'}) eq 'ARRAY') {                          if (ref($analysis->{$part_id.'.foils'}) eq 'ARRAY') {

Removed from v.1.528.2.4  
changed lines
  Added in v.1.528.2.5


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