aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-17 16:23:47 +0100
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-17 16:24:01 +0100
commit6e3dcd456f8690101935ded618423ae9ed996d5c (patch)
tree119ec3367a3d9a0aadab7c5f8907ca8c36c78fe1
parent07b33000e504c3cc8b253ba01479504267465a08 (diff)
fix shuffling of group_ids, re #6363
-rw-r--r--app/controllers/my_studygroups.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/my_studygroups.php b/app/controllers/my_studygroups.php
index de3457b..5241706 100644
--- a/app/controllers/my_studygroups.php
+++ b/app/controllers/my_studygroups.php
@@ -164,7 +164,7 @@ class MyStudygroupsController extends AuthenticatedController
]);
// Zufällig sortieren ist in PHP schneller als in SQL
- $group_ids = shuffle($group_ids);
+ shuffle($group_ids);
$cache->write($cache_id, $group_ids, 15 * 60);
return Course::findMany($group_ids);