code style

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2022-03-01 10:15:20 +01:00 committed by blizzz (Rebase PR Action)
parent 4c97efc51b
commit 97c0594ab0

View file

@ -95,7 +95,7 @@ class SettingsController extends Controller {
if (strpos($category, 'attribute-mapping') === 0) {
$category = 'attribute-mapping';
$key = 'saml-attribute-mapping' . '-' . $setting;
} else if($category === 'name-id-formats') {
} elseif ($category === 'name-id-formats') {
if ($setting === $storedSettings['sp-name-id-format']) {
$settings['sp']['name-id-format'] = $storedSettings['sp-name-id-format'];
//continue 2;