From ed17431ebc89d6f6a9b99d14920343c92c23b2de Mon Sep 17 00:00:00 2001 From: Stas Date: Mon, 21 Mar 2016 15:17:00 +0200 Subject: [PATCH] 110687814-values_for_pending_apply --- app/models/epp/domain.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/epp/domain.rb b/app/models/epp/domain.rb index 737a434d6..d687137a6 100644 --- a/app/models/epp/domain.rb +++ b/app/models/epp/domain.rb @@ -511,6 +511,8 @@ class Epp::Domain < Domain self.deliver_emails = true # turn on email delivery self.statuses.delete(DomainStatus::PENDING_UPDATE) + self.upid = user.registrar.id if user.registrar + self.up_date = Time.zone.now ::PaperTrail.whodunnit = user.id_role_username # updator str should be the request originator not the approval user send_mail :registrant_updated_notification_for_old_registrant