aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-08-06 13:41:04 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-08-06 13:41:04 +0200
commit4776b6600a239589111108f43179ca6f34d61d4c (patch)
tree41a43c7e3e87e322d1d3a797cb1ad4e3910d41ba
parent5c54a3caa752d2faa8363bf1c37658705864f729 (diff)
downloadnextcloud-server-4776b6600a239589111108f43179ca6f34d61d4c.tar.gz
nextcloud-server-4776b6600a239589111108f43179ca6f34d61d4c.zip
fix: Ensure database connection is setup when getting group details
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-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 925b5bb0bdd..5827a31172d 100644
--- a/lib/private/Group/Database.php
+++ b/lib/private/Group/Database.php
@@ -507,6 +507,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) {