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

www www at source.lon-capa.org
Tue Oct 25 11:15:02 EDT 2011


www		Tue Oct 25 15:15:02 2011 EDT

  Modified files:              
    /loncom/auth	lonroles.pm 
  Log:
  Bug #1320
  
  
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.262 loncom/auth/lonroles.pm:1.263
--- loncom/auth/lonroles.pm:1.262	Fri Oct 21 16:28:49 2011
+++ loncom/auth/lonroles.pm	Tue Oct 25 15:15:02 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # User Roles Screen
 #
-# $Id: lonroles.pm,v 1.262 2011/10/21 16:28:49 www Exp $
+# $Id: lonroles.pm,v 1.263 2011/10/25 15:15:02 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -603,8 +603,7 @@
                         if ($role eq 'au') {
                             $redirect_url.=$env{'user.domain'}.'/'.$env{'user.name'};
                         } else {
-                            $where =~ /\/(.*)$/;
-                            $redirect_url .= $1;
+                            $redirect_url .= $where;
                         }
                         $redirect_url .= '/';
                         &redirect_user($r,&mt('Entering Construction Space'),




More information about the LON-CAPA-cvs mailing list