diff --git a/app/services/imports/case_logs_import_service.rb b/app/services/imports/case_logs_import_service.rb index 528058238..14975a546 100644 --- a/app/services/imports/case_logs_import_service.rb +++ b/app/services/imports/case_logs_import_service.rb @@ -565,7 +565,7 @@ module Imports def allocation_system_unknown(cbl, chr, cap) allocation_values = [cbl, chr, cap] - if allocation_values.all? { |att| att.nil? } + if allocation_values.all?(&:nil?) nil elsif allocation_values.all? { |att| att&.zero? } 1