We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22eea23 commit 1f90e54Copy full SHA for 1f90e54
1 file changed
lib/Saml2/Response.php
@@ -784,7 +784,7 @@ public function getAttributesWithFriendlyName()
784
785
$attributeFriendlyName = $attributeFriendlyNameNode->nodeValue;
786
787
- if (!empty($attributeFriendlyName) && in_array($attributeFriendlyName, array_keys($attributes))) {
+ if (in_array($attributeFriendlyName, array_keys($attributes))) {
788
throw new OneLogin_Saml2_ValidationError(
789
"Found an Attribute element with duplicated FriendlyName",
790
OneLogin_Saml2_ValidationError::DUPLICATED_ATTRIBUTE_NAME_FOUND
0 commit comments