diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-04-05 07:32:39 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-04-05 07:32:39 +0000 |
| commit | ce29a764567cfdd792e1fe7b5e0bfb06d2f278e3 (patch) | |
| tree | e91c5c198b31753d70a53dd56354f9ee6ecba437 /app/controllers/my_courses.php | |
| parent | 6e4031571ca4ce1ed59bc1d936fa4c473375b8d1 (diff) | |
fixes #3946
Closes #3946
Merge request studip/studip!2811
Diffstat (limited to 'app/controllers/my_courses.php')
| -rw-r--r-- | app/controllers/my_courses.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/my_courses.php b/app/controllers/my_courses.php index cff0933..9e8e0b6 100644 --- a/app/controllers/my_courses.php +++ b/app/controllers/my_courses.php @@ -190,7 +190,7 @@ class MyCoursesController extends AuthenticatedController LEFT JOIN `mvv_lvgruppe` AS ml ON (mls.`lvgruppe_id` = ml.`lvgruppe_id`) LEFT JOIN `mvv_lvgruppe_modulteil` AS mlm on(mls.`lvgruppe_id` = mlm.`lvgruppe_id`) LEFT JOIN `mvv_modulteil` AS mmt ON (mlm.`modulteil_id` = mmt.`modulteil_id`) - LEFT JOIN `mvv_modul` AS mm ON (mmt.`modul_id` = mm.`modul_id`)"; + LEFT JOIN `mvv_modul` AS mm ON (mmt.`modul_id` = mm.`modul_id` AND mm.`stat` = 'genehmigt')"; } |
