From 3f9275c3e95f299879d2d08e6df82cf8e604df38 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Tue, 29 Sep 2009 11:12:07 +0000 Subject: [PATCH] saml: Change entityId option to entityID. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1798 44740490-163a-0410-bde0-09ae8108e29a --- modules/saml/lib/Auth/Source/SP.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/saml/lib/Auth/Source/SP.php b/modules/saml/lib/Auth/Source/SP.php index 5acba8bd5..7fc81189f 100644 --- a/modules/saml/lib/Auth/Source/SP.php +++ b/modules/saml/lib/Auth/Source/SP.php @@ -48,8 +48,8 @@ class sspmod_saml_Auth_Source_SP extends SimpleSAML_Auth_Source { parent::__construct($info, $config); /* For compatibility with code that assumes that $metadata->getString('entityid') gives the entity id. */ - if (array_key_exists('entityId', $config)) { - $config['entityid'] = $config['entityId']; + if (array_key_exists('entityID', $config)) { + $config['entityid'] = $config['entityID']; } else { $config['entityid'] = $this->getMetadataURL(); } -- GitLab