From 4513ec29f5fcf24b9f79b66cf36fce2c335708a2 Mon Sep 17 00:00:00 2001 From: bogdanRada Date: Thu, 12 Dec 2013 10:03:56 +0200 Subject: [PATCH] update --- app/helpers/washout_builder_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/washout_builder_helper.rb b/app/helpers/washout_builder_helper.rb index 7009814..67ebc31 100644 --- a/app/helpers/washout_builder_helper.rb +++ b/app/helpers/washout_builder_helper.rb @@ -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]