[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstathelpers.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Fri, 13 Feb 2004 18:34:41 -0000
matthew Fri Feb 13 13:34:41 2004 EDT
Modified files:
/loncom/interface/statistics lonstathelpers.pm
Log:
&ProblemSelector: Remove redundant check on problem type.
Index: loncom/interface/statistics/lonstathelpers.pm
diff -u loncom/interface/statistics/lonstathelpers.pm:1.2 loncom/interface/statistics/lonstathelpers.pm:1.3
--- loncom/interface/statistics/lonstathelpers.pm:1.2 Tue Jan 20 10:51:06 2004
+++ loncom/interface/statistics/lonstathelpers.pm Fri Feb 13 13:34:40 2004
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstathelpers.pm,v 1.2 2004/01/20 15:51:06 matthew Exp $
+# $Id: lonstathelpers.pm,v 1.3 2004/02/13 18:34:40 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -123,12 +123,6 @@
next if ($res->{'type'} ne 'assessment');
foreach my $part (@{$res->{'parts'}}) {
my $partdata = $res->{'partdata'}->{$part};
- if ((! exists($partdata->{'option'}) ||
- $partdata->{'option'} == 0 ) &&
- (! exists($partdata->{'radiobutton'}) ||
- $partdata->{'radiobutton'} == 0)) {
- next;
- }
for (my $i=0;$i<scalar(@{$partdata->{'ResponseTypes'}});$i++){
my $respid = $partdata->{'ResponseIds'}->[$i];
my $resptype = $partdata->{'ResponseTypes'}->[$i];