--- loncom/homework/grades.pm 2005/02/01 21:03:13 1.240 +++ loncom/homework/grades.pm 2005/02/01 21:06:48 1.241 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.240 2005/02/01 21:03:13 albertel Exp $ +# $Id: grades.pm,v 1.241 2005/02/01 21:06:48 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3063,13 +3063,12 @@ sub getSymbMap { my @sequences = $navmap->retrieveResources(undef, sub { shift->is_map(); }, 1,0,1); for my $sequence ($navmap->getById('0.0'), @sequences) { -# if ($navmap->hasResource($sequence, sub { shift->is_problem(); }, 0) ) { - Apache->request->print($sequence->map_pc()."
"); + if ($navmap->hasResource($sequence, sub { shift->is_problem(); }, 0) ) { my $title = $minder.'.'.$sequence->compTitle(); push @titles, $title; # minder in case two titles are identical $symbx{$title} = $sequence->symb(); $minder++; -# } + } } return \@titles,\%symbx; }