diff --git a/app/services/saml_request_validator.rb b/app/services/saml_request_validator.rb index 2b21aadc0bc..4eee8790492 100644 --- a/app/services/saml_request_validator.rb +++ b/app/services/saml_request_validator.rb @@ -43,7 +43,7 @@ def parsed_vectors_of_trust return @parsed_vectors_of_trust if defined?(@parsed_vectors_of_trust) @parsed_vectors_of_trust = begin - if vtr.is_a?(Array) && !vtr.empty? + if vtr.present? vtr.map { |vot| Vot::Parser.new(vector_of_trust: vot).parse } end rescue Vot::Parser::ParseException