From ef496aa24aa9dc52c929ddb5f2788ddd17bf9acd Mon Sep 17 00:00:00 2001 From: Kat Date: Mon, 3 Apr 2023 08:28:19 +0100 Subject: [PATCH] Fix possible bulk upload years --- app/models/forms/bulk_upload_lettings/year.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/forms/bulk_upload_lettings/year.rb b/app/models/forms/bulk_upload_lettings/year.rb index d958f27d4..bbd424dfe 100644 --- a/app/models/forms/bulk_upload_lettings/year.rb +++ b/app/models/forms/bulk_upload_lettings/year.rb @@ -35,8 +35,8 @@ module Forms def possible_years [ - FormHandler.instance.lettings_forms["next_lettings"].start_date.year, FormHandler.instance.lettings_forms["current_lettings"].start_date.year, + FormHandler.instance.lettings_forms["previous_lettings"].start_date.year, ] end end