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

saml: Handle entityID === NULL.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1841 44740490-163a-0410-bde0-09ae8108e29a
parent c0dc6278
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ class sspmod_saml_Auth_Source_SP extends SimpleSAML_Auth_Source { ...@@ -47,7 +47,7 @@ class sspmod_saml_Auth_Source_SP extends SimpleSAML_Auth_Source {
/* Call the parent constructor first, as required by the interface. */ /* Call the parent constructor first, as required by the interface. */
parent::__construct($info, $config); parent::__construct($info, $config);
if (!array_key_exists('entityID', $config)) { if (!isset($config['entityID'])) {
$config['entityID'] = $this->getMetadataURL(); $config['entityID'] = $this->getMetadataURL();
} }
......
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