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

raeburn raeburn@source.lon-capa.org
Wed, 04 Nov 2009 16:22:25 -0000


raeburn		Wed Nov  4 16:22:25 2009 EDT

  Modified files:              
    /loncom/interface	lonmenu.pm 
  Log:
  - logic of $canviewgrps check reversed in 1.286.
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.299 loncom/interface/lonmenu.pm:1.300
--- loncom/interface/lonmenu.pm:1.299	Tue Nov  3 20:04:05 2009
+++ loncom/interface/lonmenu.pm	Wed Nov  4 16:22:24 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.299 2009/11/03 20:04:05 raeburn Exp $
+# $Id: lonmenu.pm,v 1.300 2009/11/04 16:22:24 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -230,7 +230,7 @@
         next if $$menuitem[4] =~ /^(no|)remotenavCommunity$/ 
                 && $crstype ne 'Community';
         next if    $$menuitem[4]   =~ /showgroups$/
-                && $canviewgrps
+                && !$canviewgrps
                 && !%groups;
 
         if ($$menuitem[3] eq 'Roles' && $env{'request.course.id'}) {