Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Stud.IP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stud.IP
Stud.IP
Merge requests
!1950
Resolve "Bei Klick auf den Namen einer Veranstaltungen sollen Lehrende auf die Übersicht gelangen"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Bei Klick auf den Namen einer Veranstaltungen sollen Lehrende auf die Übersicht gelangen"
issue-2899
into
main
Overview
0
Commits
1
Pipelines
3
Changes
1
Merged
Rasmus Fuhse
requested to merge
issue-2899
into
main
1 year ago
Overview
0
Commits
1
Pipelines
3
Changes
1
Expand
Closes
#2899 (closed)
0
0
Merge request reports
Viewing commit
975b1ce3
Show latest version
1 file
+
5
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
975b1ce3
re
#2899
· 975b1ce3
Rasmus Fuhse
authored
1 year ago
public/seminar_main.php
+
5
−
3
Options
@@ -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