Skip to content
Snippets Groups Projects
Commit 8d08bc4b authored by Olav Morken's avatar Olav Morken
Browse files

SAML2/Binding: Fix misspelling of array_key_exists.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2272 44740490-163a-0410-bde0-09ae8108e29a
parent 6d7c834d
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ abstract class SAML2_Binding {
case 'POST':
if (array_key_exists('SAMLRequest', $_REQUEST) || array_key_exists('SAMLResponse', $_REQUEST)) {
return new SAML2_HTTPPost();
} elseif (array_key_exits('CONTENT_TYPE', $_SERVER) && $_SERVER['CONTENT_TYPE'] === 'text/xml'){
} elseif (array_key_exists('CONTENT_TYPE', $_SERVER) && $_SERVER['CONTENT_TYPE'] === 'text/xml'){
return new SAML2_SOAP();
}
break;
......
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