--- loncom/interface/statistics/lonproblemanalysis.pm 2003/11/11 22:14:28 1.49 +++ loncom/interface/statistics/lonproblemanalysis.pm 2003/12/10 23:09:26 1.50 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonproblemanalysis.pm,v 1.49 2003/11/11 22:14:28 matthew Exp $ +# $Id: lonproblemanalysis.pm,v 1.50 2003/12/10 23:09:26 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1491,10 +1491,14 @@ sub ProblemSelector { if ($ENV{'form.problemchoice'} eq $value) { $checked = 'checked '; } + my $title = $res->{'title'}; + if (! defined($title) || $title eq '') { + ($title) = ($res->{'src'} =~ m:/([^/]*)$:); + } $seq_str .= ''. ''. ''. - ''.$res->{'title'}.' '; + ''.$title.' '; # ''.$resptype.' '.$res->{'title'}.' '; if ($partdata->{'option'} > 1) { $seq_str .= &mt('response').' '.$respid;