aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRon Lucke <lucke@elan-ev.de>2024-03-25 12:57:28 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2024-03-25 12:57:28 +0000
commitc7a50f71d5ceeafeaeeeac7630818b3cd3e9f58e (patch)
tree13805d3cf8fb0123a519b530b5450548df11b80d /app
parent586ed51bdb2da5823987c672008149b979d8db8d (diff)
fix #3887
Closes #3887 Merge request studip/studip!2743
Diffstat (limited to 'app')
-rw-r--r--app/controllers/courseware/public.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/courseware/public.php b/app/controllers/courseware/public.php
index aa5a309..a7472ae 100644
--- a/app/controllers/courseware/public.php
+++ b/app/controllers/courseware/public.php
@@ -19,6 +19,7 @@ class Courseware_PublicController extends StudipController
$publicLink = PublicLink::find($this->link_id);
$this->invalid = $publicLink === null;
if (!$this->invalid) {
+ $this->block_types = Courseware\BlockTypes\BlockType::getBlockTypes();
$this->expired = $publicLink->isExpired();
$this->link_pass = $publicLink->password;
$this->entry_element_id = $publicLink->structural_element_id;