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

raeburn raeburn at source.lon-capa.org
Wed Mar 11 23:04:46 EDT 2015


raeburn		Thu Mar 12 03:04:46 2015 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonsearchcat.pm 
  Log:
  - For 2.11
    Backport 1.344
  
  
Index: loncom/interface/lonsearchcat.pm
diff -u loncom/interface/lonsearchcat.pm:1.331.4.10 loncom/interface/lonsearchcat.pm:1.331.4.11
--- loncom/interface/lonsearchcat.pm:1.331.4.10	Sun Feb 23 22:16:20 2014
+++ loncom/interface/lonsearchcat.pm	Thu Mar 12 03:04:45 2015
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Search Catalog
 #
-# $Id: lonsearchcat.pm,v 1.331.4.10 2014/02/23 22:16:20 raeburn Exp $
+# $Id: lonsearchcat.pm,v 1.331.4.11 2015/03/12 03:04:45 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3800,7 +3800,7 @@
 ######################################################################
 sub start_fresh_session {
     delete $groupsearch_db{'mode_catalog'};
-    foreach (keys %groupsearch_db) {
+    foreach (keys(%groupsearch_db)) {
         if ($_ =~ /^pre_/) {
             delete $groupsearch_db{$_};
         }




More information about the LON-CAPA-cvs mailing list