From e52a79a8136090b4f8c7e7d314ef162515d24654 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Wed, 18 Feb 2015 16:21:34 +0200 Subject: [PATCH] Fixed contact legal document parsing --- app/models/epp/contact.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/epp/contact.rb b/app/models/epp/contact.rb index 57eccbf2c..d9d9754bf 100644 --- a/app/models/epp/contact.rb +++ b/app/models/epp/contact.rb @@ -53,8 +53,8 @@ class Epp::Contact < Contact def legal_document_attrs(legal_frame) attrs = {}.with_indifferent_access attrs[0] = {}.with_indifferent_access + attrs[0][:body] = legal_frame.text attrs[0][:document_type] = legal_frame['type'] - attrs[0][:body] = legal_frame attrs end end