Skip to content

Commit

Permalink
#1548 Upload and Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
picman committed Oct 3, 2024
1 parent 6896256 commit 0e3f138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/dmsf_upload_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def permissions
def upload_files
uploaded_files = params[:dmsf_attachments]
# Commit
if params[:commit] == l(:label_dmsf_commit)
if params[:commit] == l(:label_dmsf_upload_commit)
uploaded_files&.each do |key, uploaded_file|
upload = DmsfUpload.create_from_uploaded_attachment(@project, @folder, uploaded_file)
params[:committed_files][key][:disk_filename] = upload.disk_filename
Expand Down

0 comments on commit 0e3f138

Please sign in to comment.