Skip to content
Snippets Groups Projects
Commit 809400ec authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

use SORM relation for PDF export instead of getFiles(), fixes #3424

Closes #3424

Merge request studip/studip!2347
parent 71ec0fdd
No related branches found
No related tags found
No related merge requests found
......@@ -457,7 +457,7 @@ abstract class BlockType
$template->set_attributes([
'title' => $this->getTitle(),
'payload' => $this->getPayload(),
'files' => $this->getFiles()
'files' => $this->block->files
]);
} catch (\Exception $e) {
// it catches the exception mostly because the template file could not be found.
......
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