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

raeburn raeburn at source.lon-capa.org
Fri May 23 04:32:56 EDT 2014


raeburn		Fri May 23 08:32:56 2014 EDT

  Modified files:              
    /loncom/interface	domainprefs.pm 
  Log:
  - Fix check for "E-mail address as username" radio button in "Users 
    self-creating accounts" screen. 
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.243 loncom/interface/domainprefs.pm:1.244
--- loncom/interface/domainprefs.pm:1.243	Fri May  9 17:43:13 2014
+++ loncom/interface/domainprefs.pm	Fri May 23 08:32:55 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.243 2014/05/09 17:43:13 raeburn Exp $
+# $Id: domainprefs.pm,v 1.244 2014/05/23 08:32:55 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -8530,7 +8530,7 @@
 # value set to one), if self-creation with e-mail address permitted, where $type is user type: faculty, staff, student etc.
 #
 
-    if ($env{'form.cancreate_email'} eq 'email') {
+    if ($env{'form.cancreate_email'}) {
         push(@contexts,'emailusername');
         if (ref($types) eq 'ARRAY') {
             foreach my $type (@{$types}) {




More information about the LON-CAPA-cvs mailing list