aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-17 15:15:18 +0100
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-17 15:15:18 +0100
commit63e13ccb53048c58bc45c5eee2ee782ee3082d06 (patch)
treeefe944fd386fa6d5aa1b86e4f4c40fec280b07a9
parent8b5ccdc554b530d93f9154c4e74aa765c6e24720 (diff)
fix error from 2073417431ac81e578e40bc199ed520b87b51a0d on branch 6.0, re #6369
-rw-r--r--app/controllers/course/details.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/course/details.php b/app/controllers/course/details.php
index 0edba4a..5336636 100644
--- a/app/controllers/course/details.php
+++ b/app/controllers/course/details.php
@@ -131,6 +131,7 @@ class Course_DetailsController extends AuthenticatedController
// flatten the paths to a linked list
$parent_id = 'root';
foreach ($mvv_object_path as $mvv_object) {
+ $tree_id = $mvv_object->id;
$mvv_object_id = $mvv_object instanceof StgteilabschnittModul
? $mvv_object->modul_id
: $mvv_object->id;