Skip to content

Commit c94ff37

Browse files
authored
Merge pull request #1220 from nextcloud/carl/fix-log-spam
fix: log spam
2 parents cccc168 + 83eec4c commit c94ff37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/Controller/SettingsController.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function getSamlProviderSettings(int $providerId): array {
8585
$category = 'user-filter';
8686
$key = 'saml-user-filter' . '-' . $setting;
8787
} elseif ($category === 'name-id-formats') {
88-
if ($setting === $storedSettings['sp-name-id-format']) {
88+
if ($setting === ($storedSettings['sp-name-id-format'] ?? null)) {
8989
$settings['sp']['name-id-format'] = $storedSettings['sp-name-id-format'];
9090
//continue 2;
9191
}

0 commit comments

Comments
 (0)