From 6abf438da69d3d863eb4d4864d049dc5bf79c5b2 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms <tleilax+github@gmail.com> Date: Thu, 2 Mar 2023 20:01:36 +0100 Subject: [PATCH] fix regression from bd60f4a8b88c1f6173cf481ea4407668c1b0c4c0, re #2232 --- app/controllers/my_courses.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/my_courses.php b/app/controllers/my_courses.php index b3e43e351f2..c0dbeb3798a 100644 --- a/app/controllers/my_courses.php +++ b/app/controllers/my_courses.php @@ -753,7 +753,7 @@ class MyCoursesController extends AuthenticatedController foreach ($_inner as $course) { $_courses[$course['seminar_id']] = $course; - if (isset($course['children']) && is_array($couse['children'])) { + if (isset($course['children']) && is_array($course['children'])) { foreach ($course['children'] as $child) { $_courses[$child['seminar_id']] = $child; } -- GitLab