From 44fadeae29b4ecb78498dcfe8805f294bf6b3872 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:32:17 +0000
Subject: [PATCH] Bugfix. Thanks to Boy Baukema for reporting issue #581.

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

diff --git a/lib/SAML2/XML/md/PDPDescriptor.php b/lib/SAML2/XML/md/PDPDescriptor.php
index 677d5f64f..f09d054cd 100644
--- a/lib/SAML2/XML/md/PDPDescriptor.php
+++ b/lib/SAML2/XML/md/PDPDescriptor.php
@@ -58,7 +58,7 @@ class SAML2_XML_md_PDPDescriptor 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