--- loncom/auth/lonroles.pm 2005/12/20 15:47:07 1.140 +++ loncom/auth/lonroles.pm 2005/12/20 19:07:10 1.141 @@ -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 @@ ENDENTERKEY $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 ....');