diff options
| author | Rasmus Fuhse <fuhse@data-quest.de> | 2023-07-15 14:52:48 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2023-07-15 14:52:48 +0000 |
| commit | 3dbf5956b10dc6a3a00e945b04530894c0909253 (patch) | |
| tree | f073e7333f4a454e4c785be5dc03006f09a17d3a /public | |
| parent | 77601db7da41a053ca5467834d58fdc616284b13 (diff) | |
Resolve "Bei Klick auf den Namen einer Veranstaltungen sollen Lehrende auf die Übersicht gelangen"
Closes #2899
Merge request studip/studip!1950
Diffstat (limited to 'public')
| -rw-r--r-- | public/seminar_main.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/public/seminar_main.php b/public/seminar_main.php index 0e7eed1..831f1b4 100644 --- a/public/seminar_main.php +++ b/public/seminar_main.php @@ -75,9 +75,11 @@ if ($redirect_to) { // der Nutzer zum ersten //Reiter der Veranstaltung weiter geleitet. if (Navigation::hasItem("/course")) { - foreach (Navigation::getItem("/course")->getSubNavigation() as $navigation) { - header('Location: ' . URLHelper::getURL($navigation->getURL())); - die; + foreach (Navigation::getItem("/course")->getSubNavigation() as $index => $navigation) { + if ($index !== 'admin') { + header('Location: ' . URLHelper::getURL($navigation->getURL())); + die; + } } } |
