aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/my_studygroups.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/my_studygroups.php')
-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);