[LON-CAPA-cvs] cvs: loncom /interface/statistics lonproblemanalysis.pm

matthew lon-capa-cvs@mail.lon-capa.org
Mon, 06 Dec 2004 16:22:21 -0000


matthew		Mon Dec  6 11:22:21 2004 EDT

  Modified files:              
    /loncom/interface/statistics	lonproblemanalysis.pm 
  Log:
  Fix bug with excel output of option response results which caused data to
  be omitted for foils which contained spaces in their names.
  
  
Index: loncom/interface/statistics/lonproblemanalysis.pm
diff -u loncom/interface/statistics/lonproblemanalysis.pm:1.107 loncom/interface/statistics/lonproblemanalysis.pm:1.108
--- loncom/interface/statistics/lonproblemanalysis.pm:1.107	Fri Dec  3 16:53:59 2004
+++ loncom/interface/statistics/lonproblemanalysis.pm	Mon Dec  6 11:22:21 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonproblemanalysis.pm,v 1.107 2004/12/03 21:53:59 matthew Exp $
+# $Id: lonproblemanalysis.pm,v 1.108 2004/12/06 16:22:21 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1778,6 +1778,7 @@
             my ($foilid,$correct)  = split('=',$Foilgrades[$j]);
             my (undef,$submission) = split('=',$Foilsubs[$j]);
             $submission = &Apache::lonnet::unescape($submission);
+            $foilid = &Apache::lonnet::unescape($foilid);
             $response_data{$foilid.' submission'}=$submission;
             $response_data{$foilid.' award'}=$correct;
         }