Skip to content

Commit 4974381

Browse files
AdambeanAdamReece-WebBox
authored andcommitted
Correction when deleting GitLab groups: that array_key_exists_i() check should be looking for falsehood.
1 parent 565ef38 commit 4974381

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LdapSyncCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1744,7 +1744,7 @@ private function deployGitlabUsersAndGroups(array $config, string $gitlabInstanc
17441744
continue;
17451745
}
17461746

1747-
if ($this->array_key_exists_i($gitlabGroupName, $ldapGroupsSafe)) {
1747+
if (!$this->array_key_exists_i($gitlabGroupName, $ldapGroupsSafe)) {
17481748
continue;
17491749
}
17501750
$ldapGroupMembers = $ldapGroupsSafe[$gitlabGroupName];

0 commit comments

Comments
 (0)