Skip to content
Snippets Groups Projects

Resolve "Bei Klick auf den Namen einer Veranstaltungen sollen Lehrende auf die Übersicht gelangen"

Merged Rasmus Fuhse requested to merge issue-2899 into main
1 file
+ 5
3
Compare changes
  • Side-by-side
  • Inline
+ 5
3
@@ -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;
}
}
}
Loading