From 561d09a2db3014d0aadf44bf1b77c8dcf08b2787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= Date: Fri, 17 Oct 2025 13:25:36 +0200 Subject: [PATCH] fix: secondary owncloud custom group admin permissions not migrated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- lib/Command/MigrateCustomGroups.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Command/MigrateCustomGroups.php b/lib/Command/MigrateCustomGroups.php index 1bda9b893..ceba51613 100644 --- a/lib/Command/MigrateCustomGroups.php +++ b/lib/Command/MigrateCustomGroups.php @@ -130,7 +130,7 @@ public function migrateTeams(): void { $this->output->writeln(' - new member ' . $userId . ''); $member = $this->circlesManager->addMember($circle->getSingleId(), $fedUser); - if ($rowM['role'] === '1') { + if ((int)$rowM['role'] === 1) { $this->circlesManager->levelMember($member->getId(), Member::LEVEL_ADMIN); } } catch (\Exception $e) {