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

saml:SP: Fix warning about unset variable.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2287 44740490-163a-0410-bde0-09ae8108e29a
parent 29eb7f20
No related branches found
No related tags found
No related merge requests found
......@@ -211,8 +211,10 @@ class sspmod_saml_Auth_Source_SP extends SimpleSAML_Auth_Source {
if (isset($state['saml:IDPList'])) {
$IDPList = $state['saml:IDPList'];
} else {
$IDPList = array();
}
$ar->setIDPList(array_unique(array_merge($this->metadata->getArray('IDPList', array()),
$idpMetadata->getArray('IDPList', array()),
(array) $IDPList)));
......
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