[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 30 Jul 2002 19:57:40 -0000


albertel		Tue Jul 30 15:57:40 2002 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - stupid typo, caching should be fixed for sections, BUG#200
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.254 loncom/lonnet/perl/lonnet.pm:1.255
--- loncom/lonnet/perl/lonnet.pm:1.254	Sat Jul 27 15:06:41 2002
+++ loncom/lonnet/perl/lonnet.pm	Tue Jul 30 15:57:40 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.254 2002/07/27 19:06:41 www Exp $
+# $Id: lonnet.pm,v 1.255 2002/07/30 19:57:40 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2428,7 +2428,7 @@
 	    my $section;
 	    if (($ENV{'user.name'} eq $uname) &&
 		($ENV{'user.domain'} eq $udom)) {
-		$section={'request.course.sec'};
+		$section=$ENV{'request.course.sec'};
 	    } else {
 		$section=&usection($udom,$uname,$courseid);
 	    }