Skip to content

Commit

Permalink
Fix setting mpdb id after removing published subitems
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Richter committed Apr 16, 2024
1 parent dd5ffef commit daac41e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/Domain/Model/PublishedItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ public function addPublishedSubitem(PublishedSubitem $publishedSubitem = null):
public function removePublishedSubitem(PublishedSubitem $publishedSubitemToRemove): void
{
$this->publishedSubitems->detach($publishedSubitemToRemove);
$this->setMvdbId();
}

/**
Expand Down

0 comments on commit daac41e

Please sign in to comment.