Skip to content

Commit 6705d69

Browse files
authored
Merge pull request #2176 from nextcloud/skjnldsv-patch-1
2 parents 350601d + 561d09a commit 6705d69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/Command/MigrateCustomGroups.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function migrateTeams(): void {
130130
$this->output->writeln(' - new member <info>' . $userId . '</info>');
131131

132132
$member = $this->circlesManager->addMember($circle->getSingleId(), $fedUser);
133-
if ($rowM['role'] === '1') {
133+
if ((int)$rowM['role'] === 1) {
134134
$this->circlesManager->levelMember($member->getId(), Member::LEVEL_ADMIN);
135135
}
136136
} catch (\Exception $e) {

0 commit comments

Comments
 (0)