From 0d27fbc2ce63ca61bd89a8f1631902c9b8bf83cc Mon Sep 17 00:00:00 2001
From: vrioux <vrioux@ctech.ca>
Date: Tue, 27 Sep 2016 12:48:15 -0400
Subject: [PATCH] Fix wrong right parenthesis

---
 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 2dbce161f..2471371a9 100644
--- a/modules/consent/lib/Auth/Process/Consent.php
+++ b/modules/consent/lib/Auth/Process/Consent.php
@@ -175,7 +175,7 @@ class sspmod_consent_Auth_Process_Consent extends SimpleSAML_Auth_ProcessingFilt
                 if ($optionToTest['type'] === 'regex') {
                     // regex-based consent disabling
 
-                    if (!array_key_exists('pattern'), $optionToTest) {
+                    if (!array_key_exists('pattern', $optionToTest)) {
                         continue; // no pattern defined
                     }
 
@@ -189,7 +189,7 @@ class sspmod_consent_Auth_Process_Consent extends SimpleSAML_Auth_ProcessingFilt
                 }
 
             } // end foreach
-            
+
             // Base case : no match
             return false;
 
-- 
GitLab