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

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 13 Dec 2006 18:43:32 -0000


albertel		Wed Dec 13 13:43:32 2006 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - need to not hide hidden or make use of the randomout since it's likely inaccuaarte (BUG#4800)
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.384 loncom/homework/grades.pm:1.385
--- loncom/homework/grades.pm:1.384	Tue Dec 12 13:15:53 2006
+++ loncom/homework/grades.pm	Wed Dec 13 13:43:30 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.384 2006/12/12 18:15:53 albertel Exp $
+# $Id: grades.pm,v 1.385 2006/12/13 18:43:30 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3930,7 +3930,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();
@@ -4155,7 +4155,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();