Skip to content
Snippets Groups Projects
Commit c7e4d19c authored by Jacob Christiansen's avatar Jacob Christiansen
Browse files

Fixes issue 324

IdPDisco: Applied patch from thomas.zangerl 


git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2344 44740490-163a-0410-bde0-09ae8108e29a
parent ac887984
No related branches found
No related tags found
No related merge requests found
...@@ -482,6 +482,8 @@ class SimpleSAML_XHTML_IdPDisco { ...@@ -482,6 +482,8 @@ class SimpleSAML_XHTML_IdPDisco {
if (sizeof($idpintersection) > 0) { if (sizeof($idpintersection) > 0) {
$idpList = array_intersect_key($idpList, array_fill_keys($idpintersection, NULL)); $idpList = array_intersect_key($idpList, array_fill_keys($idpintersection, NULL));
} }
$idpintersection = array_values($idpintersection);
if(sizeof($idpintersection) == 1) { if(sizeof($idpintersection) == 1) {
$this->log('Choice made [' . $idpintersection[0] . '] (Redirecting the user back. returnIDParam=' . $this->returnIdParam . ')'); $this->log('Choice made [' . $idpintersection[0] . '] (Redirecting the user back. returnIDParam=' . $this->returnIdParam . ')');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment