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

raeburn raeburn at source.lon-capa.org
Mon Jun 3 23:16:20 EDT 2019


raeburn		Tue Jun  4 03:16:20 2019 EDT

  Modified files:              
    /loncom/interface	domainprefs.pm 
  Log:
  - Instance missed for name change from $type to $status (in rev. 1.305). 
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.361 loncom/interface/domainprefs.pm:1.362
--- loncom/interface/domainprefs.pm:1.361	Tue May 14 13:39:24 2019
+++ loncom/interface/domainprefs.pm	Tue Jun  4 03:16:19 2019
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.361 2019/05/14 13:39:24 raeburn Exp $
+# $Id: domainprefs.pm,v 1.362 2019/06/04 03:16:19 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -15728,7 +15728,7 @@
                                 $chgtext .= &mt('For self-created accounts verified by e-mail address, username is set as follows:').
                                             '<ul>';
                                 foreach my $status (@statuses) {
-                                    if ($type eq 'default') {
+                                    if ($status eq 'default') {
                                         $chgtext .= '<li>'.$othertitle.' -- '.$options{$cancreate{'emailverified'}{$status}}.'</li>';
                                     } else {
                                         $chgtext .= '<li>'.$usertypes{$status}.' -- '.$options{$cancreate{'emailverified'}{$status}}.'</li>';




More information about the LON-CAPA-cvs mailing list