--- loncom/auth/lonroles.pm 2005/12/19 21:39:33 1.139 +++ 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.139 2005/12/19 21:39:33 raeburn Exp $ +# $Id: lonroles.pm,v 1.141 2005/12/20 19:07:10 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -51,7 +51,7 @@ sub redirect_user { my $navwindow; if ($launch_nav eq 'on') { $navwindow.=&Apache::lonnavmaps::launch_win('now',undef,undef, - ($url =~ m-/^adm/whatsnew-)); + ($url =~ m-^/adm/whatsnew-)); } else { $navwindow.=&Apache::lonnavmaps::close(); } @@ -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 ....');