--- loncom/interface/statistics/lonproblemanalysis.pm 2004/12/02 21:53:33 1.106 +++ loncom/interface/statistics/lonproblemanalysis.pm 2004/12/03 21:53:59 1.107 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonproblemanalysis.pm,v 1.106 2004/12/02 21:53:33 matthew Exp $ +# $Id: lonproblemanalysis.pm,v 1.107 2004/12/03 21:53:59 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -86,8 +86,8 @@ sub BuildProblemAnalysisPage { # # Support for numerical and radio response isn't complete enough to # include in 1.2 release. - # my $problem_types = '(option|radiobutton|numerical)'; - my $problem_types = '.';#(option)'; + my $problem_types = '(option|radiobutton|numerical)'; + # my $problem_types = '.';#(option)'; if (exists($ENV{'form.problemchoice'}) && ! exists($ENV{'form.SelectAnother'})) { foreach my $button (@SubmitButtons) { @@ -1176,6 +1176,9 @@ sub OR_tries_analysis { my $mintries = 1; my $maxtries = $ENV{'form.NumPlots'}; my ($table,$Foils,$Concepts) = &build_foil_index($ORdata); + if (! defined($Concepts)) { + $Concepts = []; + } my %response_data = &OR_analyze_by_tries($r,$PerformanceData, $mintries,$maxtries); my $analysis = '';