From bc479a96f346681162b334ccc55a455a7b5e27fb Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Mon, 26 Oct 2009 09:18:32 +0000 Subject: [PATCH] lib/SAML2: Fix up changed namespace prefix on NameID element. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1897 44740490-163a-0410-bde0-09ae8108e29a --- lib/SAML2/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SAML2/Utils.php b/lib/SAML2/Utils.php index 156ab941e..7f1aaa63d 100644 --- a/lib/SAML2/Utils.php +++ b/lib/SAML2/Utils.php @@ -173,7 +173,7 @@ class SAML2_Utils { public static function addNameId(DOMElement $node, array $nameId) { assert('array_key_exists("Value", $nameId)'); - $xml = $node->ownerDocument->createElementNS(SAML2_Const::NS_SAML, 'saml_assertion:NameID'); + $xml = $node->ownerDocument->createElementNS(SAML2_Const::NS_SAML, 'saml:NameID'); $node->appendChild($xml); if (array_key_exists('NameQualifier', $nameId) && $nameId['NameQualifier'] !== NULL) { -- GitLab