--- loncom/interface/domainprefs.pm 2014/05/09 17:49:47 1.160.6.47 +++ loncom/interface/domainprefs.pm 2014/05/23 08:34:54 1.160.6.48 @@ -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 @@ sub modify_selfcreation { # 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}) {