Skip to content

Commit

Permalink
Fix 'Undefined namespace prefix' error.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimeperez committed Nov 9, 2016
1 parent 0c1db29 commit fbc457e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SAML2/Assertion.php
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ private function parseAttributeValue($attribute, $attributeName)

if ($attributeName === SAML2_Const::EPTI_URN_MACE || $attributeName === SAML2_Const::EPTI_URN_OID) {
foreach ($values as $index => $eptiAttributeValue) {
$eptiNameId = SAML2_Utils::xpQuery($eptiAttributeValue, './saml:NameID');
$eptiNameId = SAML2_Utils::xpQuery($eptiAttributeValue, './saml_assertion:NameID');

if (count($eptiNameId) !== 1) {
throw new SAML2_Exception_RuntimeException(sprintf(
Expand Down

0 comments on commit fbc457e

Please sign in to comment.