Skip to content
Snippets Groups Projects
Commit c6e657f1 authored by André Noack's avatar André Noack Committed by David Siegfried
Browse files

Resolve #1426 "Dateiverwaltung: Leere Dateinamen beim Herunterladen"

Closes #1426

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