From 17bb734b0a58bbc4d3b6a1c6001826972026cb34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Meny?= Date: Wed, 27 Apr 2022 17:49:05 +0100 Subject: [PATCH] Fixing previous postcode known --- app/services/imports/case_logs_import_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/imports/case_logs_import_service.rb b/app/services/imports/case_logs_import_service.rb index 82cda7dae..ee6328a16 100644 --- a/app/services/imports/case_logs_import_service.rb +++ b/app/services/imports/case_logs_import_service.rb @@ -366,7 +366,7 @@ module Imports def previous_postcode_known(xml_doc, previous_postcode) previous_postcode_known = string_or_nil(xml_doc, "Q12bnot") - if previous_postcode_known == "Temporary or Unknown" + if previous_postcode_known == "Temporary_or_Unknown" 0 elsif previous_postcode.nil? nil