2 parents cccc168 + 83eec4c commit c94ff37Copy full SHA for c94ff37
1 file changed
lib/Controller/SettingsController.php
@@ -85,7 +85,7 @@ public function getSamlProviderSettings(int $providerId): array {
85
$category = 'user-filter';
86
$key = 'saml-user-filter' . '-' . $setting;
87
} elseif ($category === 'name-id-formats') {
88
- if ($setting === $storedSettings['sp-name-id-format']) {
+ if ($setting === ($storedSettings['sp-name-id-format'] ?? null)) {
89
$settings['sp']['name-id-format'] = $storedSettings['sp-name-id-format'];
90
//continue 2;
91
}
0 commit comments