|
@@ -238,8 +238,8 @@ class LoggableListener extends MappedEventSubscriber
|
|
}
|
|
}
|
|
$uow = $om->getUnitOfWork();
|
|
$uow = $om->getUnitOfWork();
|
|
$logEntry->setObjectId($objectId);
|
|
$logEntry->setObjectId($objectId);
|
|
|
|
+ $newValues = array();
|
|
if ($action !== self::ACTION_REMOVE && isset($config['versioned'])) {
|
|
if ($action !== self::ACTION_REMOVE && isset($config['versioned'])) {
|
|
- $newValues = array();
|
|
|
|
foreach ($ea->getObjectChangeSet($uow, $object) as $field => $changes) {
|
|
foreach ($ea->getObjectChangeSet($uow, $object) as $field => $changes) {
|
|
if (!in_array($field, $config['versioned'])) {
|
|
if (!in_array($field, $config['versioned'])) {
|
|
continue;
|
|
continue;
|