Skip to content
Snippets Groups Projects
Commit e5d23219 authored by David Siegfried's avatar David Siegfried Committed by Jan-Hendrik Willms
Browse files

prevent php-warnings in CourseNavigation, fixes #4771

Closes #4771

Merge request !3560
parent a57302ac
No related branches found
No related tags found
No related merge requests found
...@@ -71,6 +71,7 @@ class CourseNavigation extends Navigation ...@@ -71,6 +71,7 @@ class CourseNavigation extends Navigation
} }
} }
if ($found) {
foreach ($navigations as $key => $nav) { foreach ($navigations as $key => $nav) {
if ( if (
$this->range instanceof Institute $this->range instanceof Institute
...@@ -85,3 +86,4 @@ class CourseNavigation extends Navigation ...@@ -85,3 +86,4 @@ class CourseNavigation extends Navigation
} }
} }
} }
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment