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

raeburn raeburn at source.lon-capa.org
Thu Apr 28 11:30:34 EDT 2022


raeburn		Thu Apr 28 15:30:34 2022 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  - Bug 5893
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.606 loncom/interface/lonparmset.pm:1.607
--- loncom/interface/lonparmset.pm:1.606	Thu Mar 24 15:57:36 2022
+++ loncom/interface/lonparmset.pm	Thu Apr 28 15:30:34 2022
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.606 2022/03/24 15:57:36 raeburn Exp $
+# $Id: lonparmset.pm,v 1.607 2022/04/28 15:30:34 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3932,7 +3932,7 @@
 
 #-------------------------------------------- for each map, gather information
             my $mapid;
-            foreach $mapid (sort {$maplist{$a} cmp $maplist{$b}} keys(%maplist)) {
+            foreach $mapid (sort { $a <=> $b } keys(%maplist)) {
                 my $maptitle = $maplist{$mapid};
 
 #-----------------------  loop through ids and get all parameter types for map




More information about the LON-CAPA-cvs mailing list