diff --git a/app/models/communication/extranet/with_legal.rb b/app/models/communication/extranet/with_legal.rb index a4420cd47ba96ef58e4b440d9f2e1a530c3ee8cb..92fd5fe911a23787afcca127d6dde66a80c3131a 100644 --- a/app/models/communication/extranet/with_legal.rb +++ b/app/models/communication/extranet/with_legal.rb @@ -6,14 +6,14 @@ module Communication::Extranet::WithLegal end def has_terms? - strip_tags(terms).strip.present? + strip_tags(terms).to_s.strip.present? end def has_cookies_policy? - strip_tags(cookies_policy).strip.present? + strip_tags(cookies_policy).to_s.strip.present? end def has_privacy_policy? - strip_tags(privacy_policy).strip.present? + strip_tags(privacy_policy).to_s.strip.present? end end