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

bowersj2 lon-capa-cvs@mail.lon-capa.org
Tue, 12 Nov 2002 18:24:38 -0000


bowersj2		Tue Nov 12 13:24:38 2002 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  Another "Why the hell did this EVER work on my system?" bug fix.
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.101 loncom/interface/lonnavmaps.pm:1.102
--- loncom/interface/lonnavmaps.pm:1.101	Fri Nov  8 15:58:13 2002
+++ loncom/interface/lonnavmaps.pm	Tue Nov 12 13:24:38 2002
@@ -2,7 +2,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.101 2002/11/08 20:58:13 bowersj2 Exp $
+# $Id: lonnavmaps.pm,v 1.102 2002/11/12 18:24:38 bowersj2 Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2414,7 +2414,7 @@
         # Don't remember it if the student doesn't have browse priviledges
         # future note: this may properly belong in the client of the resource
         my $browsePriv = &Apache::lonnet::allowed('bre', $self->src);
-        if ($browsePriv ne '2' && $browsePriv ne 'F') {
+        if (!($browsePriv ne '2' && $browsePriv ne 'F')) {
             push @branches, $next;
         }
     }