diff options
Diffstat (limited to 'app/views/course/details/index.php')
| -rw-r--r-- | app/views/course/details/index.php | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/app/views/course/details/index.php b/app/views/course/details/index.php index 98d4eac..84c0aa8 100644 --- a/app/views/course/details/index.php +++ b/app/views/course/details/index.php @@ -432,14 +432,18 @@ if (!empty($mvv_tree)) : ?> <section> <ul class="list-unstyled"> <? foreach ($mvv_paths as $mvv_path) : ?> - <? $types = array_keys($mvv_path); ?> - <? $values = array_values($mvv_path); ?> <li> - <a data-dialog href="<?= URLHelper::getScriptLink('dispatch.php/search/module/overview/' . $types[0] . '/' . $course->start_semester->id) ?>"> - <?= htmlReady(implode(' > ', $values[0])) ?> + <a data-dialog href="<?= URLHelper::getLink( + 'dispatch.php/search/module/overview/' + . $mvv_path['modul_id'] . '/' . $course->start_semester->id, + [ + 'abschnitt_id' => $mvv_path['abschnitt_id'], + ] + ) ?>"> + <?= htmlReady(implode(' > ', $mvv_path['names'])) ?> </a> </li> - <? endforeach; ?> + <? endforeach ?> </ul> </section> </article> |
