--- loncom/interface/domainprefs.pm 2017/08/15 21:03:58 1.309 +++ loncom/interface/domainprefs.pm 2017/08/15 22:44:51 1.310 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.309 2017/08/15 21:03:58 raeburn Exp $ +# $Id: domainprefs.pm,v 1.310 2017/08/15 22:44:51 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -12273,8 +12273,8 @@ sub modify_selfcreation { } } $chgtext .= ''; + my $typename; if (@types) { - my $typename; if ($type eq 'default') { $typename = $othertitle; } else { @@ -12290,10 +12290,9 @@ sub modify_selfcreation { ''; } else { $resulttext .= '
  • '. - &mt('There are now no restrictions on e-mail addresses which may be used for verification when a user requests an account.', - $usertypes{$type}). + &mt('There are now no restrictions on e-mail addresses which may be used for verification when a user requests an account.'). '
  • '. - &mt('(Affiliation: [_1])',$type); + &mt('(Affiliation: [_1])',$typename); } } }