From 3b19ff6460a67340419cde184bf898e9d78877d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Mon, 17 Apr 2023 02:27:36 +0200 Subject: [PATCH] fixup! implement audit logger --- src/PersistentData/PersistentDataManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PersistentData/PersistentDataManager.php b/src/PersistentData/PersistentDataManager.php index 9bed8dc..e08ef7b 100644 --- a/src/PersistentData/PersistentDataManager.php +++ b/src/PersistentData/PersistentDataManager.php @@ -133,7 +133,7 @@ class PersistentDataManager if (count($modified) > 0) { $modify->setId($id); - $modify->setDiff($original); + $modify->setDiff($diff); $modify->fill($modified); $modify->save(); }