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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 02 Jun 2006 22:02:51 -0000


albertel		Fri Jun  2 18:02:51 2006 EDT

  Modified files:              
    /loncom/auth	lonroles.pm 
  Log:
  - and unless conversion that was incorrect
  
  
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.154 loncom/auth/lonroles.pm:1.155
--- loncom/auth/lonroles.pm:1.154	Fri Jun  2 17:22:10 2006
+++ loncom/auth/lonroles.pm	Fri Jun  2 18:02:51 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # User Roles Screen
 #
-# $Id: lonroles.pm,v 1.154 2006/06/02 21:22:10 albertel Exp $
+# $Id: lonroles.pm,v 1.155 2006/06/02 22:02:51 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -265,7 +265,7 @@
 			    return OK;
 			} else {
                             my $type = 'Course/Group';
-			    if ($env{'request.course.id'}) {
+			    if (!$env{'request.course.id'}) {
                                 if (defined($env{'course.'.
                                             $env{'request.course.id'}.'.type'})) {
                                     $type = $env{'course.'.