--- loncom/homework/grades.pm 2004/12/03 23:54:58 1.234 +++ loncom/homework/grades.pm 2004/12/09 23:53:10 1.235 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.234 2004/12/03 23:54:58 albertel Exp $ +# $Id: grades.pm,v 1.235 2004/12/09 23:53:10 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3137,7 +3137,7 @@ sub displayPage { if($curRes == $iterator->BEGIN_MAP) { $depth++; } if($curRes == $iterator->END_MAP) { $depth--; } - if (ref($curRes) && $curRes->is_problem()) { + if (ref($curRes) && $curRes->is_problem() && !$curRes->randomout) { my $parts = $curRes->parts(); my $title = $curRes->compTitle(); my $symbx = $curRes->symb();