diff --git a/app/controllers/course/members.php b/app/controllers/course/members.php index be4c19cf999592984942a4450ce172c5ef3c6a05..376af9c85fed725654d3267de66d846e26ddaaa1 100644 --- a/app/controllers/course/members.php +++ b/app/controllers/course/members.php @@ -1237,9 +1237,9 @@ class Course_MembersController extends AuthenticatedController count($msg['success'])), count($msg['success']) <= 5 ? $msg['success'] : []); } - if (count($msg['errors'])) { + if (count($msg['error'])) { PageLayout::postError(sprintf(_('%s Person(en) konnten nicht auf die Warteliste verschoben werden.'), - count($msg['errors'])), + count($msg['error'])), count($msg['error']) <= 5 ? $msg['error'] : []); } } else {