aboutsummaryrefslogtreecommitdiff
path: root/app/views/shared/mvv_tree.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/mvv_tree.php')
-rw-r--r--app/views/shared/mvv_tree.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/shared/mvv_tree.php b/app/views/shared/mvv_tree.php
index 6a6c82d..38858b6 100644
--- a/app/views/shared/mvv_tree.php
+++ b/app/views/shared/mvv_tree.php
@@ -1,9 +1,9 @@
<? foreach ($tree[$node] as $current) : ?>
<li>
<? if ($current['class'] != 'Modulteil' && $current['id'] != 'root') : ?>
- <input id="<?= htmlReady($current['id'] . $id_sfx->c) ?>" type="checkbox"<?= $current['class'] != 'StgteilabschnittModul' ? 'checked' : ''?>>
+ <input id="<?= htmlReady($current['tree_id'] . $id_sfx->c) ?>" type="checkbox"<?= $current['class'] != 'StgteilabschnittModul' ? 'checked' : ''?>>
<? endif; ?>
- <label for="<?= htmlReady($current['id'] . $id_sfx->c++) ?>"></label>
+ <label for="<?= htmlReady($current['tree_id'] . $id_sfx->c++) ?>"></label>
<? if ($current['class'] == 'StgteilabschnittModul') : ?>
<a data-dialog title="<?= htmlReady($current['name']) ?>" href="<?= URLHelper::getLink('dispatch.php/shared/modul/overview/' . $current['id'] . '/' . $course->start_semester->id) ?>">
<?= htmlReady($current['name']) ?>
@@ -16,7 +16,7 @@
<? endif; ?>
<? if ($current['class'] != 'Modulteil') : ?>
<ul>
- <?= $this->render_partial('shared/mvv_tree.php', ['tree' => $tree, 'node' => $current['id']]) ?>
+ <?= $this->render_partial('shared/mvv_tree.php', ['tree' => $tree, 'node' => $current['tree_id']]) ?>
</ul>
<? endif; ?>
</li>