--- loncom/interface/loncoursedata.pm 2003/09/24 15:14:41 1.87 +++ loncom/interface/loncoursedata.pm 2003/09/24 18:01:01 1.88 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: loncoursedata.pm,v 1.87 2003/09/24 15:14:41 matthew Exp $ +# $Id: loncoursedata.pm,v 1.88 2003/09/24 18:01:01 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -193,8 +193,10 @@ sub get_sequence_assessment_data { my $parts = $curRes->parts(); my %partdata; foreach my $part (@$parts) { - $partdata{$part}->{'ResponseTypes'}= $curRes->responseType($part); - $partdata{$part}->{'ResponseIds'} = $curRes->responseIds($part); + my @Responses = $curRes->responseType($part); + my @Ids = $curRes->responseIds($part); + $partdata{$part}->{'ResponseTypes'}= \@Responses; + $partdata{$part}->{'ResponseIds'} = \@Ids; } my $assessment = { title => $title, src => $src,