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

raeburn raeburn at source.lon-capa.org
Tue Aug 6 19:18:44 EDT 2019


raeburn		Tue Aug  6 23:18:44 2019 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonmenu.pm 
  Log:
  - For 2.11
    Backport 1.499 
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.369.2.76 loncom/interface/lonmenu.pm:1.369.2.77
--- loncom/interface/lonmenu.pm:1.369.2.76	Tue Aug  6 16:49:01 2019
+++ loncom/interface/lonmenu.pm	Tue Aug  6 23:18:43 2019
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.369.2.76 2019/08/06 16:49:01 raeburn Exp $
+# $Id: lonmenu.pm,v 1.369.2.77 2019/08/06 23:18:43 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -424,7 +424,7 @@
             }
         }
         if ($env{'request.course.groups'} ne '') {
-            foreach my $group (split(/:/,$env{'request.course.groups'}) {
+            foreach my $group (split(/:/,$env{'request.course.groups'})) {
                 next unless ($group =~ /^\w+$/);
                 my @privs = split(/:/,$env{"user.priv.$env{'request.role'}./$cdom/$cnum/$group"});
                 shift(@privs);




More information about the LON-CAPA-cvs mailing list