Diff for /loncom/interface/domainprefs.pm between versions 1.160.6.84.2.7 and 1.160.6.84.2.8

version 1.160.6.84.2.7, 2017/11/01 03:00:31 version 1.160.6.84.2.8, 2017/11/01 08:56:25
Line 5732  sub print_selfcreation { Line 5732  sub print_selfcreation {
         my $onclick = "toggleDisplay(this.form,'emailoptions');";          my $onclick = "toggleDisplay(this.form,'emailoptions');";
         my $additional = '<div id="emailoptions" style="display: '.$display.'">';          my $additional = '<div id="emailoptions" style="display: '.$display.'">';
         my %domdefaults = &Apache::lonnet::get_domain_defaults($dom);          my %domdefaults = &Apache::lonnet::get_domain_defaults($dom);
         if (ref($domdefaults{'inststatusguest'}) eq 'ARRAY') {  
             $order = $domdefaults{'inststatusguest'};  
         }  
         my (@ordered,%usertypeshash);          my (@ordered,%usertypeshash);
         if (ref($order) eq 'ARRAY') {          if (ref($domdefaults{'inststatusguest'}) eq 'ARRAY') {
             @ordered = @{$order};              @ordered = @{$domdefaults{'inststatusguest'}};
         }          }
         if (@ordered) {          if (@ordered) {
             unless (grep(/^default$/,@ordered)) {              unless (grep(/^default$/,@ordered)) {

Removed from v.1.160.6.84.2.7  
changed lines
  Added in v.1.160.6.84.2.8


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>