Skip to content

Commit

Permalink
fix(contributor) - solve #1413
Browse files Browse the repository at this point in the history
add missing property (position)
  • Loading branch information
dnkbln authored and eteubert committed Nov 21, 2023
1 parent 53b0ee2 commit 3377a16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/modules/contributors/contributors.php
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,7 @@ public function apply_default_contributors(Episode $episode)
$contribution = new EpisodeContribution();
$contribution->episode_id = $episode->id;
$contribution->contributor_id = $default_contribution->contributor_id;
$contribution->position = $default_contribution->position;
$contribution->role_id = $default_contribution->role_id;
$contribution->group_id = $default_contribution->group_id;
$contribution->save();
Expand Down

0 comments on commit 3377a16

Please sign in to comment.