Skip to content

Commit

Permalink
Internal: Fix undefined variable in migration 20240709222700
Browse files Browse the repository at this point in the history
  • Loading branch information
ywarnier authored Jul 10, 2024
1 parent 59c8e37 commit 13780b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function up(Schema $schema): void
}

foreach ($roles as $roleName => $roleCode) {
if (in_array($roleCode, $Mapping[$permData['slug']])) {
if (in_array($roleCode, $permissionsMapping[$permData['slug']])) {
$permissionRelRoleRepository = $this->entityManager->getRepository(PermissionRelRole::class);
$existingRelation = $permissionRelRoleRepository->findOneBy([
'permission' => $permission,
Expand Down

0 comments on commit 13780b1

Please sign in to comment.