From 8bdac645aa1bfdbc267b0ca9aed9bd16927cd8cd Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Fri, 13 Aug 2010 09:34:13 +0000
Subject: [PATCH] SAMLBuilder: Fix error with AttributeAuthorityDescriptor.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2517 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SimpleSAML/Metadata/SAMLBuilder.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/SimpleSAML/Metadata/SAMLBuilder.php b/lib/SimpleSAML/Metadata/SAMLBuilder.php
index a3d090e2c..bc06cd528 100644
--- a/lib/SimpleSAML/Metadata/SAMLBuilder.php
+++ b/lib/SimpleSAML/Metadata/SAMLBuilder.php
@@ -464,7 +464,7 @@ class SimpleSAML_Metadata_SAMLBuilder {
 
 		$metadata = SimpleSAML_Configuration::loadFromArray($metadata, $metadata['entityid']);
 
-		$e = new SAMl2_AttributeAuthorityDescriptor();
+		$e = new SAML2_XML_md_AttributeAuthorityDescriptor();
 		$e->protocolSupportEnumeration = $metadata->getArray('protocols', array());
 
 		$this->addExtensions($metadata, $e);
-- 
GitLab