From bf73503e46cdf1c8b82c459c8e5737321397a6f3 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Fri, 9 Oct 2009 10:39:01 +0000
Subject: [PATCH] saml2/sp/initSSO: Set $reachableIDPs to silence a warning.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1833 44740490-163a-0410-bde0-09ae8108e29a
---
 www/saml2/sp/initSSO.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/saml2/sp/initSSO.php b/www/saml2/sp/initSSO.php
index 637f5273f..02058b20c 100644
--- a/www/saml2/sp/initSSO.php
+++ b/www/saml2/sp/initSSO.php
@@ -24,6 +24,8 @@ if (empty($_GET['RelayState'])) {
 	SimpleSAML_Utilities::fatalError($session->getTrackID(), 'NORELAYSTATE');
 }
 
+$reachableIDPs = array();
+
 try {
 
 	$idpentityid = isset($_GET['idpentityid']) ? $_GET['idpentityid'] : $config->getString('default-saml20-idp', NULL) ;
-- 
GitLab