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

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 03 Jul 2006 03:11:07 -0000


albertel		Sun Jul  2 23:11:07 2006 EDT

  Modified files:              
    /loncom/interface	lonannounce.pm 
  Log:
  - temp workaround for BUG#4850
  
  
Index: loncom/interface/lonannounce.pm
diff -u loncom/interface/lonannounce.pm:1.57 loncom/interface/lonannounce.pm:1.58
--- loncom/interface/lonannounce.pm:1.57	Thu Jun 29 12:44:49 2006
+++ loncom/interface/lonannounce.pm	Sun Jul  2 23:11:07 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Announce
 #
-# $Id: lonannounce.pm,v 1.57 2006/06/29 16:44:49 albertel Exp $
+# $Id: lonannounce.pm,v 1.58 2006/07/03 03:11:07 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -81,6 +81,8 @@
         }
     }
 
+    return %returnhash if ($courseid ne $env{'request.course.id'});
+
     my $can_see_hidden = $env{'request.role.adv'};
     my $navmap;# = Apache::lonnavmaps::navmap->new();
     my %resourcedata=