From 1a8568392fd556096ab2538a3c4346fed77a9689 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Sat, 4 Oct 2014 18:42:46 +0200 Subject: [PATCH] Fixed post deleting --- src/Services/HistoryService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Services/HistoryService.php b/src/Services/HistoryService.php index 3c81a489..04b36423 100644 --- a/src/Services/HistoryService.php +++ b/src/Services/HistoryService.php @@ -82,6 +82,7 @@ class HistoryService public function getPostDeleteSnapshot(\Szurubooru\Entities\Post $post) { $snapshot = $this->getPostSnapshot($post); + $snapshot->setData([]); $snapshot->setOperation(\Szurubooru\Entities\Snapshot::OPERATION_DELETE); return $snapshot; }