diff --git a/app/services/imports/local_authorities_service.rb b/app/services/imports/local_authorities_service.rb index 0c45308c3..fd989f777 100644 --- a/app/services/imports/local_authorities_service.rb +++ b/app/services/imports/local_authorities_service.rb @@ -16,7 +16,7 @@ module Imports la_name: row["la_name"], start_date: Time.zone.local(row["start_year"], 4, 1), end_date: (Time.zone.local(row["end_year"], 3, 31) if row["end_year"]), - previous_location_only: row["previous_location_only"] }, + previous_location_only: row["previous_location_only"] || false }, ) @count += 1 end