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

Biest 4019

Merge request studip/studip!2868
parent 15aa1c68
No related branches found
No related tags found
Loading
...@@ -596,6 +596,11 @@ class Course_StudygroupController extends AuthenticatedController ...@@ -596,6 +596,11 @@ class Course_StudygroupController extends AuthenticatedController
global $perm; global $perm;
$id = Context::getId(); $id = Context::getId();
if (!$id) {
throw new CheckObjectException(_('Sie haben kein Objekt gewählt.'));
}
$user = Request::username('user'); $user = Request::username('user');
if ($from_status === 'moderator') { if ($from_status === 'moderator') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment