Skip to content

Commit

Permalink
Merge pull request #47077 from nextcloud/backport/47065/stable28
Browse files Browse the repository at this point in the history
[stable28] fix: Ensure database connection is setup when getting group details
  • Loading branch information
AndyScherzinger authored Aug 6, 2024
2 parents 6677397 + 7ad057e commit 1389863
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/private/Group/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1389863

Please sign in to comment.