diff options
Diffstat (limited to 'app')
| -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 c789bfd..8970907 100644 --- a/app/controllers/my_courses.php +++ b/app/controllers/my_courses.php @@ -219,7 +219,7 @@ class MyCoursesController extends AuthenticatedController $deputy->gruppe = $gruppe[$deputy->range_id]; $deputy->store(); }, - 'user_id = ? AND range_id IN ?', + 'user_id = ? AND range_id IN (?)', [ User::findCurrent()->id, array_keys($gruppe), |
