mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 08:43:37 +02:00
fixed attach default contacts when owner is missing
This commit is contained in:
parent
c5860bde98
commit
1e80672910
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ class Epp::Domain < Domain
|
|||
end
|
||||
|
||||
def attach_default_contacts
|
||||
return if owner_contact.blank?
|
||||
tech_contacts << owner_contact if tech_contacts.blank?
|
||||
admin_contacts << owner_contact if admin_contacts.blank? && owner_contact.priv?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue