Skip to content

Commit

Permalink
[Community] fixes organization managers flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Elorfin committed Oct 26, 2023
1 parent a4f43a1 commit 1ba20c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/core/Entity/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -767,9 +767,8 @@ public function addOrganization(Organization $organization, ?bool $managed = fal
$ref->setUser($this);

$this->userOrganizationReferences->add($ref);
$ref->setManager($managed);
}

$ref->setManager($managed);
}

public function removeOrganization(Organization $organization): void
Expand Down

0 comments on commit 1ba20c5

Please sign in to comment.