diff options
| author | Rasmus Fuhse <fuhse@data-quest.de> | 2023-07-07 07:26:45 +0000 |
|---|---|---|
| committer | Rasmus Fuhse <fuhse@data-quest.de> | 2023-07-07 07:26:45 +0000 |
| commit | 711983b916a228657ef4eecc8cbb3d3bbf97a131 (patch) | |
| tree | 3ac22a2e7246aa96ad1691423f5ee4cfc4f56a7b /lib | |
| parent | 256be6d2ed505fd531cb0bb3937807c4a1a8cac5 (diff) | |
Resolve "OER: Merkwürdigkeiten beim Dateiupload"
Closes #2589
Merge request studip/studip!1892
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/models/OERHostOERSI.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/OERHostOERSI.php b/lib/models/OERHostOERSI.php index 5e6b9dc..a6c5591 100644 --- a/lib/models/OERHostOERSI.php +++ b/lib/models/OERHostOERSI.php @@ -175,7 +175,7 @@ class OERHostOERSI extends OERHost public function getDownloadURLForMaterial(OERMaterial $material) { - return $material['uri']; + return $material['data']['download'] ?? $material['uri']; } public function cbCreateKeysIfNecessary() |
