aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/course/studygroup.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2025-02-03 08:30:09 +0100
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2025-02-03 08:30:09 +0100
commita882910eea6dc08a945fd389f1b4ed5d5341c14e (patch)
treeb6b018a1bdc887ede1f4e48865ce99c4a122002a /app/controllers/course/studygroup.php
parentd6684c435a73034ce2ae25c92384958ba97498b1 (diff)
fix sorm access on studygroup invitation, re #5195
Diffstat (limited to 'app/controllers/course/studygroup.php')
-rw-r--r--app/controllers/course/studygroup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/course/studygroup.php b/app/controllers/course/studygroup.php
index 30048e8..4edbd76 100644
--- a/app/controllers/course/studygroup.php
+++ b/app/controllers/course/studygroup.php
@@ -446,7 +446,7 @@ class Course_StudygroupController extends AuthenticatedController
$this->autors = $sem->getMembersWithStatus('autor');
$this->accepted = $sem->admission_applicants->findBy('status', 'accepted');
$this->sem_class = $sem->getSemClass();
- $this->invitedMembers = StudygroupInvitation::findBySQL('sem_id = ? ORDER BY mkdate', $id);
+ $this->invitedMembers = StudygroupInvitation::findBySQL('sem_id = ? ORDER BY mkdate', [$id]);
$this->rechte = $GLOBALS['perm']->have_studip_perm('tutor', $id);
$this->page = null;
$this->setupMembersSidebar($sem);