Skip to content

Commit

Permalink
Don't crash when param_options are nil instead of hash (#239)
Browse files Browse the repository at this point in the history
* Don't crash when param_options are nil instead of hash

* Checking for nil will do the trick

* Fix another merge issue

* Fix the underlying issue for real
  • Loading branch information
mhenrixon authored and inossidabile committed Sep 30, 2017
1 parent 267c091 commit a8690c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/helpers/wash_out_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ def wsdl_data_options(param)
{ :"xsi:nil" => true }
end
when 'document'
{ }
{}
else
{}
end
end

Expand Down

0 comments on commit a8690c3

Please sign in to comment.