diff options
| author | David Siegfried <david.siegfried@uni-vechta.de> | 2024-09-18 11:38:52 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2024-09-18 11:38:52 +0000 |
| commit | 38906ef3cbea9643f36c7eabf70f7e387a22a314 (patch) | |
| tree | 945ac6ff99695391761b549923cd6479c0d1d974 /lib/modules | |
| parent | 4f5f6e67091d1600fb0f0be364ac0a378246401b (diff) | |
fixes #4597
Closes #4597
Merge request studip/studip!3407
Diffstat (limited to 'lib/modules')
| -rw-r--r-- | lib/modules/CoreDocuments.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/modules/CoreDocuments.php b/lib/modules/CoreDocuments.php index 3f6de68..96afa47 100644 --- a/lib/modules/CoreDocuments.php +++ b/lib/modules/CoreDocuments.php @@ -42,6 +42,7 @@ class CoreDocuments extends CorePlugin implements StudipModule, OERModule 'description' => $material['description'] ]; $url = $material->getDownloadUrl(); + $tmp_name = null; if ($url) { if ($material['host_id']) { $tmp_name = $GLOBALS['TMP_PATH'] . '/oer_' . $material->getId(); |
