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

raeburn raeburn at source.lon-capa.org
Fri May 23 04:34:55 EDT 2014


raeburn		Fri May 23 08:34:55 2014 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	domainprefs.pm 
  Log:
  - For 2.11
    - Backport 1.244
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.160.6.47 loncom/interface/domainprefs.pm:1.160.6.48
--- loncom/interface/domainprefs.pm:1.160.6.47	Fri May  9 17:49:47 2014
+++ loncom/interface/domainprefs.pm	Fri May 23 08:34:54 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.160.6.47 2014/05/09 17:49:47 raeburn Exp $
+# $Id: domainprefs.pm,v 1.160.6.48 2014/05/23 08:34:54 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -8512,7 +8512,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