diff --git a/app/controllers/support_controller.rb b/app/controllers/support_controller.rb index d69bb5444..b907e20a5 100644 --- a/app/controllers/support_controller.rb +++ b/app/controllers/support_controller.rb @@ -53,7 +53,7 @@ class SupportController < ApplicationController phone: params[:phone], text: params[:text], file: params[:file], - dossier_id: params[:dossier_id], + dossier_id: dossier&.id, browser: browser_name, tags: tags ).send_form