From ae7aee5d496ef3f12380078bb0bb24586d0fe03f Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Fri, 2 Aug 2019 19:11:34 +0200 Subject: [PATCH] fix syntax --- app/models/client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/client.rb b/app/models/client.rb index 9a9007300..070308d3b 100644 --- a/app/models/client.rb +++ b/app/models/client.rb @@ -273,7 +273,7 @@ def check_language def check_certificate Array.wrap(certificate).each do |c| - errors.add(:certificate, "Certificate #{c} is not included in the list of supported certificates.") unless ["CoreTrustSeal", "DIN 31644", "DINI", "DSA", "RatSWD", "WDS").include?(c) + errors.add(:certificate, "Certificate #{c} is not included in the list of supported certificates.") unless ["CoreTrustSeal", "DIN 31644", "DINI", "DSA", "RatSWD", "WDS"].include?(c) end end