[LON-CAPA-cvs] cvs: loncom /homework grades.pm
raeburn
raeburn@source.lon-capa.org
Wed, 27 Jan 2010 06:26:55 -0000
raeburn Wed Jan 27 06:26:55 2010 EDT
Modified files:
/loncom/homework grades.pm
Log:
- Early out from &scantron_get_maxbubble() to avoid ISE if no navmap object.
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.590 loncom/homework/grades.pm:1.591
--- loncom/homework/grades.pm:1.590 Mon Jan 18 17:54:26 2010
+++ loncom/homework/grades.pm Wed Jan 27 06:26:55 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.590 2010/01/18 17:54:26 bisitz Exp $
+# $Id: grades.pm,v 1.591 2010/01/27 06:26:55 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -7451,6 +7451,7 @@
if (ref($nav_error)) {
$$nav_error = 1;
}
+ return;
}
my $map=$navmap->getResourceByUrl($sequence);
my @resources=$navmap->retrieveResources($map,\&scantron_filter,1,0);