0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-02-27 10:06:31 +00:00

fix: Ensure database connection is setup when getting group details

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2024-08-06 13:41:04 +02:00 committed by Andy Scherzinger
parent cf72177de1
commit 940d0aa9a4

View file

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