[LON-CAPA-cvs] cvs: loncom /interface loncreateuser.pm

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Sun, 13 Jul 2008 09:53:16 -0000


raeburn		Sun Jul 13 05:53:16 2008 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
  Log:
  - Fix typo.
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.253 loncom/interface/loncreateuser.pm:1.254
--- loncom/interface/loncreateuser.pm:1.253	Sun Jul 13 05:40:47 2008
+++ loncom/interface/loncreateuser.pm	Sun Jul 13 05:53:16 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.253 2008/07/13 09:40:47 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.254 2008/07/13 09:53:16 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1417,7 +1417,7 @@
                    ['firstname','middlename','lastname','generation',
                     'permanentemail','id'],$ccdomain,$ccuname);
     }
-    if (!$newuser) { || $context eq 'selfcreate') {
+    if ((!$newuser) || ($context eq 'selfcreate')) {
         %canmodify =
             &Apache::lonuserutils::can_modify_userinfo($context,$ccdomain,
                                                        \@userinfo,$rolesarray);