--- loncom/interface/statistics/lonsurveyreports.pm 2005/04/07 06:56:24 1.8 +++ loncom/interface/statistics/lonsurveyreports.pm 2008/09/14 15:16:30 1.16 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonsurveyreports.pm,v 1.8 2005/04/07 06:56:24 albertel Exp $ +# $Id: lonsurveyreports.pm,v 1.16 2008/09/14 15:16:30 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -37,6 +37,9 @@ use Apache::lonstathelpers; use Spreadsheet::WriteExcel; use HTML::Entities(); use Time::Local(); +use lib '/home/httpd/lib/perl/'; +use LONCAPA; + my @SubmitButtons = ( { name => 'break'}, @@ -200,13 +203,13 @@ sub SurveyProblemSelector { if ($env{'form.problemchoice'} eq $value) { $checked = 'checked '; } - my $link = $problem->{'res'}->src. - '?symb='.&Apache::lonnet::escape($problem->{'res'}->symb); + my $link = $problem->{'res'}->link. + '?symb='.&escape($problem->{'res'}->shown_symb); $Str .= ''. ''.''. ''. - '