summaryrefslogtreecommitdiffstats
path: root/lib/SAML2/XML/md/PDPDescriptor.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/SAML2/XML/md/PDPDescriptor.php')
-rw-r--r--lib/SAML2/XML/md/PDPDescriptor.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SAML2/XML/md/PDPDescriptor.php b/lib/SAML2/XML/md/PDPDescriptor.php
index e2765fd..677d5f6 100644
--- a/lib/SAML2/XML/md/PDPDescriptor.php
+++ b/lib/SAML2/XML/md/PDPDescriptor.php
@@ -61,7 +61,7 @@ class SAML2_XML_md_PDPDescriptor extends SAML2_XML_md_RoleDescriptor {
$this->AssertionIDRequestService[] = new SAML2_XML_md_EndpointType($airs);
}
- $this->NameIDFormat = SAML2_Utils::extractStrings($xml, './saml_metadata:NameIDFormat');
+ $this->NameIDFormat = SAML2_Utils::extractStrings($xml, SAML2_Const::NS_MD, 'NameIDFormat');
}