mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Honor CID and new format independently
This commit is contained in:
parent
0a07004633
commit
ba26ea4bac
5 changed files with 11 additions and 39 deletions
|
@ -118,7 +118,6 @@ class Contact < ActiveRecord::Base
|
|||
# custom code from client
|
||||
# add prefix when needed
|
||||
if code.present?
|
||||
code.sub!(/^CID:/, '')
|
||||
prefix, *custom_code = code.split(':')
|
||||
code = custom_code.join(':') if prefix == registrar.code
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue