From 7ad057ef949acc884bd29cb4b5f0ed81061c5e54 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 6 Aug 2024 13:41:04 +0200 Subject: [PATCH] fix: Ensure database connection is setup when getting group details Signed-off-by: Ferdinand Thiessen --- lib/private/Group/Database.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/private/Group/Database.php b/lib/private/Group/Database.php index 1e66b62ade3a6..ef15cb291c076 100644 --- a/lib/private/Group/Database.php +++ b/lib/private/Group/Database.php @@ -529,6 +529,8 @@ public function getGroupsDetails(array $gids): array { $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) {