[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface groupsort.pm

raeburn raeburn at source.lon-capa.org
Wed Mar 11 22:12:40 EDT 2015


raeburn		Thu Mar 12 02:12:40 2015 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	groupsort.pm 
  Log:
  - For 2.11
    Backport 1.74
  
  
Index: loncom/interface/groupsort.pm
diff -u loncom/interface/groupsort.pm:1.68.6.6 loncom/interface/groupsort.pm:1.68.6.7
--- loncom/interface/groupsort.pm:1.68.6.6	Thu Aug  8 12:08:01 2013
+++ loncom/interface/groupsort.pm	Thu Mar 12 02:12:40 2015
@@ -2,7 +2,7 @@
 # The LON-CAPA group sort handler
 # Allows for sorting prior to import into RAT.
 #
-# $Id: groupsort.pm,v 1.68.6.6 2013/08/08 12:08:01 raeburn Exp $
+# $Id: groupsort.pm,v 1.68.6.7 2015/03/12 02:12:40 raeburn Exp $
 # 
 # Copyright Michigan State University Board of Trustees
 #
@@ -59,7 +59,7 @@
 	$ac++;
     }
     # sorting through the actions and changing the global database hash
-    foreach my $key (sort {$achash{$a}<=>$achash{$b}} (keys %ahash)) {
+    foreach my $key (sort {$achash{$a}<=>$achash{$b}} (keys(%ahash))) {
 	if ($ahash{$key} eq '1') {
 	    $hash->{'store_'.$hash->{'pre_'.$key.'_link'}}=
 		$hash->{'pre_'.$key.'_title'};




More information about the LON-CAPA-cvs mailing list