[LON-CAPA-cvs] cvs: rat / lonratparms.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 23 Oct 2003 18:38:50 -0000
albertel Thu Oct 23 14:38:50 2003 EDT
Modified files:
/rat lonratparms.pm
Log:
- hash order ain't an order
Index: rat/lonratparms.pm
diff -u rat/lonratparms.pm:1.17 rat/lonratparms.pm:1.18
--- rat/lonratparms.pm:1.17 Mon Oct 6 16:38:25 2003
+++ rat/lonratparms.pm Thu Oct 23 14:38:50 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Set parameters inside of the RAT
#
-# $Id: lonratparms.pm,v 1.17 2003/10/06 20:38:25 www Exp $
+# $Id: lonratparms.pm,v 1.18 2003/10/23 18:38:50 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -159,7 +159,7 @@
ENDDOCUMENT
### %display=&Apache::lonlocal::texthash(%display);
my $enter=&mt('Enter');
- foreach (keys(%content)) {
+ foreach (sort(keys(%content))) {
my $cur=$content{$_};
# Should if(defined($value{$_})) be if(exists($value{$_})) ?
if (defined($value{$_})) { $cur=$value{$_}; };