mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 02:38:50 +02:00
Fixed Travis errors.
This commit is contained in:
parent
55b00c7f22
commit
84d268aba3
8 changed files with 13 additions and 12 deletions
|
@ -202,7 +202,8 @@ class EventLoggerSubscriber implements EventSubscriber
|
|||
$this->saveChangeSet($entity, $log, $em);
|
||||
} elseif ($this->save_changed_fields) {
|
||||
$changed_fields = array_keys($uow->getEntityChangeSet($entity));
|
||||
unset($changed_fields['lastModified']);
|
||||
//Remove lastModified field, as this is always changed (gives us no additional info)
|
||||
$changed_fields = array_diff($changed_fields, ['lastModified']);
|
||||
$log->setChangedFields($changed_fields);
|
||||
}
|
||||
//Add user comment to log entry
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue