diff --git a/app/controllers/form_controller.rb b/app/controllers/form_controller.rb index 537c94701..f95f84667 100644 --- a/app/controllers/form_controller.rb +++ b/app/controllers/form_controller.rb @@ -24,7 +24,7 @@ class FormController < ApplicationController else render_not_found end - transaction.finish + transaction.finish if transaction end def check_answers