diff --git a/lib/SimpleSAML/XHTML/IdPDisco.php b/lib/SimpleSAML/XHTML/IdPDisco.php index ac873df19949ba7b2e878caa8ee8ec2d1d420289..f35555fb20d962c74f54641e84b54286f8710424 100644 --- a/lib/SimpleSAML/XHTML/IdPDisco.php +++ b/lib/SimpleSAML/XHTML/IdPDisco.php @@ -478,7 +478,7 @@ class SimpleSAML_XHTML_IdPDisco { $idpList = $this->getIdPList(); $preferredIdP = $this->getRecommendedIdP(); - $idpintersection = array_intersect(array_keys($idpList), $this->getScopedIDPlist()); + $idpintersection = array_intersect(array_keys($idpList), $this->getScopedIDPList()); if (sizeof($idpintersection) > 0) { $idpList = array_intersect_key($idpList, array_fill_keys($idpintersection, NULL)); }