Skip to content

Commit

Permalink
Fix "PersonRoles.affiliation_type" attribute name in SetupCommand.php…
Browse files Browse the repository at this point in the history
… (CFM-271) (#89)
  • Loading branch information
arlen authored May 2, 2023
1 parent 56634ce commit 85d3d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/Command/SetupCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public function execute(Arguments $args, ConsoleIo $io)

$person->person_roles = [$coTable->People->PersonRoles->newEntity([
'affiliation_type_id' => $coTable->Types->getTypeId(coId: $co_id,
attribute: 'PersonRoles.affiliation',
attribute: 'PersonRoles.affiliation_type',
value: 'staff'),
'title' => __d('command', 'se.person_role.title'),
'status' => SuspendableStatusEnum::Active
Expand Down

0 comments on commit 85d3d7f

Please sign in to comment.