summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Scherzinger <info@andy-scherzinger.de>2024-08-06 20:12:35 +0200
committerGitHub <noreply@github.com>2024-08-06 20:12:35 +0200
commit1389863f42ad90be947dd15465744661b25226b4 (patch)
tree5ae7d7b29a8ae99e90574e10cc095a87f9b26ecb
parent66773979e69bc7571c2fd75369454801c148561f (diff)
parent7ad057ef949acc884bd29cb4b5f0ed81061c5e54 (diff)
downloadnextcloud-server-1389863f42ad90be947dd15465744661b25226b4.tar.gz
nextcloud-server-1389863f42ad90be947dd15465744661b25226b4.zip
Merge pull request #47077 from nextcloud/backport/47065/stable28
[stable28] fix: Ensure database connection is setup when getting group details
-rw-r--r--lib/private/Group/Database.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Group/Database.php b/lib/private/Group/Database.php
index 1e66b62ade3..ef15cb291c0 100644
--- a/lib/private/Group/Database.php
+++ b/lib/private/Group/Database.php
@@ -529,6 +529,8 @@ class Database extends ABackend implements
$notFoundGids = [];
$details = [];
+ $this->fixDI();
+
// In case the data is already locally accessible, not need to do SQL query
// or do a SQL query but with a smaller in clause
foreach ($gids as $gid) {