Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdanRada committed Dec 12, 2013
1 parent 1459045 commit 4513ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/washout_builder_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def get_fault_types(map)

end
end
complex_types.delete_if{ |hash| fault_types << hash if hash[:fault].ancestors.include?(WashOut::SOAPError) }
complex_types.delete_if{ |hash| fault_types << hash if hash[:fault].ancestors.include?(WashOut::SOAPError) } unless complex_types.blank?
fault_types = fault_types.sort_by { |hash| hash[:fault].to_s.downcase }.uniq unless fault_types.blank?
complex_types = complex_types.sort_by { |hash| hash[:fault].to_s.downcase }.uniq unless complex_types.blank?
[fault_types, complex_types]
Expand Down

0 comments on commit 4513ec2

Please sign in to comment.