--- loncom/interface/statistics/lonstathelpers.pm 2005/02/28 20:16:03 1.40 +++ loncom/interface/statistics/lonstathelpers.pm 2005/03/03 17:55:06 1.42 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstathelpers.pm,v 1.40 2005/02/28 20:16:03 matthew Exp $ +# $Id: lonstathelpers.pm,v 1.42 2005/03/03 17:55:06 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -68,8 +68,7 @@ use Storable qw(freeze thaw); =item &render_resource($resource) -Input: a resource generated from -&Apache::loncoursedata::get_sequence_assessment_data(). +Input: a navmaps resource Retunrs: a scalar containing html for a rendering of the problem within a table. @@ -170,7 +169,7 @@ sub problem_selector { if (scalar(@response_ids) > 1) { $seq_str .= &mt('response').' '.$respid; } - my $link = $res->{'src'}.'?symb='. + my $link = $res->src.'?symb='. &Apache::lonnet::escape($res->symb); $seq_str .= (' 'x2). qq{view};