From 484ac8a522d52e29c94867eb1ace57024d7242dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Mon, 17 Apr 2023 02:25:53 +0200 Subject: [PATCH] fixup! implement audit logger --- src/PersistentData/PersistentDataManager.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PersistentData/PersistentDataManager.php b/src/PersistentData/PersistentDataManager.php index 42dcb33..9bed8dc 100644 --- a/src/PersistentData/PersistentDataManager.php +++ b/src/PersistentData/PersistentDataManager.php @@ -151,6 +151,7 @@ class PersistentDataManager { $modify = new Modify(\Container::$dbConnection, $model::getTable(), \Container::$auditLogger); $modify->setId($model->getId()); + $modify->fill($model->toArray()); $modify->delete(); $model->setId(null);