diff --git a/modules/saml/www/sp/metadata.php b/modules/saml/www/sp/metadata.php index 9a7467a91f98aec3e7f2057fd73314f35f02643a..abf6473a26f5eb53d394a4fda199a7603681ac5c 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;