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

www lon-capa-cvs@mail.lon-capa.org
Wed, 08 Oct 2003 23:07:01 -0000


www		Wed Oct  8 19:07:01 2003 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  Bug #2275: need to clean up those hashes!
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.128 loncom/interface/lonparmset.pm:1.129
--- loncom/interface/lonparmset.pm:1.128	Wed Oct  8 14:08:11 2003
+++ loncom/interface/lonparmset.pm	Wed Oct  8 19:07:01 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.128 2003/10/08 18:08:11 albertel Exp $
+# $Id: lonparmset.pm,v 1.129 2003/10/08 23:07:01 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -653,9 +653,9 @@
 
     my $r=shift;
 # -------------------------------------------------------- Variable declaration
-    my %allkeys;
-    my %allmaps;
-    my %alllevs;
+    my %allkeys=();
+    my %allmaps=();
+    my %alllevs=();
 
     $alllevs{'Resource Level'}='full';
 #    $alllevs{'Resource Level [BRIEF]'}='brief';