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

matthew lon-capa-cvs@mail.lon-capa.org
Thu, 07 Apr 2005 17:12:10 -0000


matthew		Thu Apr  7 13:12:10 2005 EDT

  Modified files:              
    /loncom/interface/statistics	lonstathelpers.pm 
  Log:
  Fix borken code.
  
  
Index: loncom/interface/statistics/lonstathelpers.pm
diff -u loncom/interface/statistics/lonstathelpers.pm:1.47 loncom/interface/statistics/lonstathelpers.pm:1.48
--- loncom/interface/statistics/lonstathelpers.pm:1.47	Thu Apr  7 03:34:52 2005
+++ loncom/interface/statistics/lonstathelpers.pm	Thu Apr  7 13:12:09 2005
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstathelpers.pm,v 1.47 2005/04/07 07:34:52 albertel Exp $
+# $Id: lonstathelpers.pm,v 1.48 2005/04/07 17:12:09 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -338,9 +338,10 @@
 sub get_selected_symbs {
     my ($inputfield) = @_;
     my $field = 'form.'.$inputfield;
-    my @Symbs = &Apache::loncommon::get_env_multiple($field);
-    @Symbs = (map {&Apache::lonnet::unescape($_);} @{$env{$field}});
-    return @Symbs;
+    my @symbs = (map {
+                     &Apache::lonnet::unescape($_);
+                     } &Apache::loncommon::get_env_multiple($field));
+    return @symbs;
 }
 
 ####################################################