Skip to content
Snippets Groups Projects
Commit 81631b36 authored by Vincent Rioux's avatar Vincent Rioux Committed by GitHub
Browse files

missing ")"s sorry

parent 2dc0fca3
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment