[LON-CAPA-cvs] cvs: loncom /interface domainprefs.pm
raeburn
raeburn at source.lon-capa.org
Mon Jul 25 21:11:43 EDT 2022
raeburn Tue Jul 26 01:11:43 2022 EDT
Modified files:
/loncom/interface domainprefs.pm
Log:
- Prevent ISE in unconfigured domain.
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.410 loncom/interface/domainprefs.pm:1.411
--- loncom/interface/domainprefs.pm:1.410 Wed Jun 8 03:36:07 2022
+++ loncom/interface/domainprefs.pm Tue Jul 26 01:11:43 2022
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.410 2022/06/08 03:36:07 raeburn Exp $
+# $Id: domainprefs.pm,v 1.411 2022/07/26 01:11:43 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1634,7 +1634,7 @@
$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;
More information about the LON-CAPA-cvs
mailing list