From 38af53aa97bd3817935cdc35887f4c9829a58cfe Mon Sep 17 00:00:00 2001
From: Jason Daly <jason@deefour.me>
Date: Wed, 10 Jan 2018 13:48:19 -0500
Subject: [PATCH] Fix typo in variable name.

---
 modules/saml/www/sp/metadata.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/saml/www/sp/metadata.php b/modules/saml/www/sp/metadata.php
index 9a7467a91..abf6473a2 100644
--- a/modules/saml/www/sp/metadata.php
+++ b/modules/saml/www/sp/metadata.php
@@ -67,7 +67,7 @@ foreach ($assertionsconsumerservices as $services) {
         case 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST':
             $acsArray['Binding'] = \SAML2\Constants::BINDING_HTTP_POST;
             $acsArray['Location'] = SimpleSAML\Module::getModuleURL('saml/sp/saml2-acs.php/'.$sourceId);
-            if (!in_array(\SAML2\Constants::NS_SAMLP, $supported_protocolsi, true)) {
+            if (!in_array(\SAML2\Constants::NS_SAMLP, $supported_protocols, true)) {
                 $supported_protocols[] = \SAML2\Constants::NS_SAMLP;
             }
             break;
-- 
GitLab