--- loncom/auth/lonroles.pm 2009/12/06 19:47:47 1.240.2.1 +++ loncom/auth/lonroles.pm 2009/12/07 04:38:22 1.240.2.2 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # User Roles Screen # -# $Id: lonroles.pm,v 1.240.2.1 2009/12/06 19:47:47 raeburn Exp $ +# $Id: lonroles.pm,v 1.240.2.2 2009/12/07 04:38:22 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -318,6 +318,9 @@ sub handler { } } } + if (($env{'form.cm'}) && ($env{'form.orgurl'})) { + $r->internal_redirect($env{'form.orgurl'}); + } foreach $envkey (keys %env) { next if ($envkey!~/^user\.role\./);