Skip to content
Snippets Groups Projects
Commit bc479a96 authored by Olav Morken's avatar Olav Morken
Browse files

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
parent db3af123
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment