diff --git a/modules/consent/lib/Auth/Process/Consent.php b/modules/consent/lib/Auth/Process/Consent.php index ee9837861a3e696e9f07cee6e736a02e1d0b05d0..a83c7464e224e5a3af9498ad1725cecc8211bcb9 100644 --- a/modules/consent/lib/Auth/Process/Consent.php +++ b/modules/consent/lib/Auth/Process/Consent.php @@ -162,9 +162,9 @@ class sspmod_consent_Auth_Process_Consent extends SimpleSAML_Auth_ProcessingFilt // Search in multidimensional arrays foreach ($option as $optionToTest) { if (is_array($optionToTest)) { - if (array_key_exists('type', $optionToTest) { + if (array_key_exists('type', $optionToTest)) { if ($optionToTest['type'] === 'regex') { - if (array_key_exists('pattern', $optionToTest) { + if (array_key_exists('pattern', $optionToTest)) { // Evaluate regular expression and return true if entityId matches if (preg_match($optionToTest['pattern'], $entityId) === 1) { return true;