[LON-CAPA-cvs] cvs: loncom /auth lonroles.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 20 Dec 2005 19:07:11 -0000


albertel		Tue Dec 20 14:07:11 2005 EDT

  Modified files:              
    /loncom/auth	lonroles.pm 
  Log:
  - death to user.adv
  
  
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.140 loncom/auth/lonroles.pm:1.141
--- loncom/auth/lonroles.pm:1.140	Tue Dec 20 10:47:07 2005
+++ loncom/auth/lonroles.pm	Tue Dec 20 14:07:10 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # User Roles Screen
 #
-# $Id: lonroles.pm,v 1.140 2005/12/20 15:47:07 raeburn Exp $
+# $Id: lonroles.pm,v 1.141 2005/12/20 19:07:10 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -272,7 +272,7 @@
 				$furl = "/adm/helper/course.initialization.helper";
 				# Send the user to the course they selected
 			    } elsif ($env{'request.course.fn'}) {
-                                if ($env{'user.adv'}) {
+                                if ($env{'request.role.adv'}) {
                                     my $startpage = &courseloadpage($courseid);
                                     unless ($startpage eq 'firstres') {         
 				        $msg = &mt('Entering course ....');