From 81631b36e1e28260eff238461624bdecbae73978 Mon Sep 17 00:00:00 2001
From: Vincent Rioux <vrioux@ctech.ca>
Date: Thu, 18 Aug 2016 11:19:15 -0400
Subject: [PATCH] missing ")"s sorry

---
 modules/consent/lib/Auth/Process/Consent.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/consent/lib/Auth/Process/Consent.php b/modules/consent/lib/Auth/Process/Consent.php
index ee9837861..a83c7464e 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;
-- 
GitLab