Skip to content
Snippets Groups Projects
Commit 6a6cd7c4 authored by André Noack's avatar André Noack Committed by Jan-Hendrik Willms
Browse files

Resolve #1426 "Dateiverwaltung: Leere Dateinamen beim Herunterladen"

Closes #1426

Merge request studip/studip!910
parent 093d176c
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,7 @@ class FileRef extends SimpleORMap implements PrivacyObject, FeedbackRange
$link = [];
$params = [];
$type = '0';
$file_name = $this->file->name;
$file_name = $this->file->name ?: $this->name;
$file_id = $this->id;
switch($mode) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment