Fix typo.

This commit is contained in:
Guo Xiang Tan 2018-07-20 07:57:00 +08:00
parent 711df31a9d
commit 125126c893

View File

@ -48,7 +48,7 @@ if (Rails.env.production? && SiteSetting.logging_provider == 'lograge') || ENV["
params = event.payload[:params].except(*exceptions)
if (file = params[:file]) && file.respond_to?(:headers)
param[:file] = file.headers
params[:file] = file.headers
end
if (files = params[:files])