[LON-CAPA-cvs] cvs: loncom(version_2_1_X) /homework grades.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 29 May 2006 18:51:37 -0000


albertel		Mon May 29 14:51:37 2006 EDT

  Modified files:              (Branch: version_2_1_X)
    /loncom/homework	grades.pm 
  Log:
  - a quick fix for BUG#4800, correct fix will be changing from Iterator to retrieve resources
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.302.2.5 loncom/homework/grades.pm:1.302.2.6
--- loncom/homework/grades.pm:1.302.2.5	Fri Mar  3 16:52:01 2006
+++ loncom/homework/grades.pm	Mon May 29 14:51:35 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.302.2.5 2006/03/03 21:52:01 albertel Exp $
+# $Id: grades.pm,v 1.302.2.6 2006/05/29 18:51:35 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3679,7 +3679,7 @@
         if($curRes == $iterator->BEGIN_MAP) { $depth++; }
         if($curRes == $iterator->END_MAP) { $depth--; }
 
-        if (ref($curRes) && $curRes->is_problem() && !$curRes->randomout) {
+        if (ref($curRes) && $curRes->is_problem()) {
 	    my $parts = $curRes->parts();
             my $title = $curRes->compTitle();
 	    my $symbx = $curRes->symb();
@@ -3876,7 +3876,7 @@
         if($curRes == $iterator->BEGIN_MAP) { $depth++; }
         if($curRes == $iterator->END_MAP) { $depth--; }
 
-        if (ref($curRes) && $curRes->is_problem() && !$curRes->randomout) {
+        if (ref($curRes) && $curRes->is_problem()) {
 	    my $parts = $curRes->parts();
             my $title = $curRes->compTitle();
 	    my $symbx = $curRes->symb();