Skip invalid options
This commit is contained in:
parent
0d1426cab8
commit
0f18cdfe8e
|
@ -29,6 +29,7 @@ class Panel::Ask::BackEnd::AskRepliesController < OrbitBackendController
|
|||
end
|
||||
|
||||
params[:school][:depts].each do |dns|
|
||||
next if dns.empty?
|
||||
begin
|
||||
send_request(dns, @ask_question, @ask_reply)
|
||||
rescue URI::InvalidURIError
|
||||
|
|
Loading…
Reference in New Issue