Skip to content
Snippets Groups Projects

Update src/Form/OpenIDConnectSettingsForm.php

@@ -196,7 +196,7 @@ class OpenIDConnectSettingsForm extends ConfigFormBase {
foreach ($roles as $role_id => $role) {
$default = '';
if (is_array($role_mappings[$role_id])) {
if (is_array($role_mappings)) {
// Surround any mappings with spaces with double quotes.
foreach ($role_mappings[$role_id] as $key => $mapping) {
if (strpos($mapping, ' ') !== FALSE) {
Loading