From dac8c08e69e0cd84faf1e22d484e80a8d73414e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaime=20P=C3=A9rez=20Crespo?= <jaime.perez@uninett.no>
Date: Tue, 29 Oct 2013 11:29:54 +0000
Subject: [PATCH] Bugfix. Thanks to Boy Baukema for reporting issue #580.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3285 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SAML2/XML/md/AuthnAuthorityDescriptor.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/SAML2/XML/md/AuthnAuthorityDescriptor.php b/lib/SAML2/XML/md/AuthnAuthorityDescriptor.php
index 8ab4c88c0..52124abc9 100644
--- a/lib/SAML2/XML/md/AuthnAuthorityDescriptor.php
+++ b/lib/SAML2/XML/md/AuthnAuthorityDescriptor.php
@@ -58,7 +58,7 @@ class SAML2_XML_md_AuthnAuthorityDescriptor extends SAML2_XML_md_RoleDescriptor
 		}
 
 		foreach (SAML2_Utils::xpQuery($xml, './saml_metadata:AssertionIDRequestService') as $ep) {
-			$this->AssertionIDRequestService[] = new SAML2_XML_md_EndpointType($airs);
+			$this->AssertionIDRequestService[] = new SAML2_XML_md_EndpointType($ep);
 		}
 
 		$this->NameIDFormat = SAML2_Utils::extractStrings($xml, SAML2_Const::NS_MD, 'NameIDFormat');
-- 
GitLab