--- loncom/interface/domainprefs.pm 2022/02/27 02:42:30 1.160.6.122 +++ loncom/interface/domainprefs.pm 2024/07/03 21:16:32 1.160.6.123 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.160.6.122 2022/02/27 02:42:30 raeburn Exp $ +# $Id: domainprefs.pm,v 1.160.6.123 2024/07/03 21:16:32 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1417,7 +1417,7 @@ sub print_login { $styleon{$lonhost} = 'display:none'; $styleoff{$lonhost} = ''; } - if (ref($settings->{'saml'}) eq 'HASH') { + if ((ref($settings) eq 'HASH') && (ref($settings->{'saml'}) eq 'HASH')) { foreach my $lonhost (keys(%{$settings->{'saml'}})) { if (ref($settings->{'saml'}{$lonhost}) eq 'HASH') { $saml{$lonhost} = 1; @@ -5523,8 +5523,10 @@ sub print_wafproxy { my $dom_in_effect; my $aliasrows = '