diff --git a/src/Services/PostNotesService.php b/src/Services/PostNotesService.php index d270f9c1..47c09151 100644 --- a/src/Services/PostNotesService.php +++ b/src/Services/PostNotesService.php @@ -82,6 +82,7 @@ class PostNotesService $transactionFunc = function() use ($postNote) { $this->postNoteDao->deleteById($postNote->getId()); + $this->postHistoryService->savePostChange($postNote->getPost()); }; $this->transactionManager->commit($transactionFunc); }