Skip to content

fall back to label if filename hasn't been set

Paul Mather requested to merge export_bug into 2.x-stable

Created by: whunter

When exporting files, if filename wasn't set it was basically trying to write file content to a directory since filename was nil. This change allows it to fall back to label, which is set to the file's original name at upload.

Merge request reports