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) {