File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -792,7 +792,7 @@ private function _getAttributesByKeyName($keyName = "Name")
792792
793793 $ attributeKeyName = $ attributeKeyNode ->nodeValue ;
794794
795- if (in_array ($ attributeKeyName , array_keys ($ attributes ))) {
795+ if (in_array ($ attributeKeyName , array_keys ($ attributes ), true )) {
796796 if (!$ allowRepeatAttributeName ) {
797797 throw new OneLogin_Saml2_ValidationError (
798798 "Found an Attribute element with duplicated " .$ keyName ,
@@ -809,7 +809,7 @@ private function _getAttributesByKeyName($keyName = "Name")
809809 }
810810 }
811811
812- if (in_array ($ attributeKeyName , array_keys ($ attributes ))) {
812+ if (in_array ($ attributeKeyName , array_keys ($ attributes ), true )) {
813813 $ attributes [$ attributeKeyName ] = array_merge ($ attributes [$ attributeKeyName ], $ attributeValues );
814814 } else {
815815 $ attributes [$ attributeKeyName ] = $ attributeValues ;
You can’t perform that action at this time.
0 commit comments