mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 04:37:30 +02:00
added conditions if form data is empty
This commit is contained in:
parent
a49da00966
commit
6dc552536e
1 changed files with 2 additions and 0 deletions
|
@ -193,6 +193,8 @@ module Actions
|
|||
def extensional_dnskeys_data
|
||||
dnskeys_data = @params[:dns_keys]
|
||||
|
||||
return [] if dnskeys_data.nil?
|
||||
|
||||
result_container = []
|
||||
|
||||
dnskeys_data.each do |ds|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue