mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 10:24:31 +02:00
Add the data after the change to a element edited log entry, so you can easily view the changes in log detail pages
This commit is contained in:
parent
3c724a227a
commit
923e40ed8f
14 changed files with 136 additions and 22 deletions
|
@ -194,7 +194,7 @@ class TimeTravel
|
|||
public function applyEntry(AbstractDBElement $element, TimeTravelInterface $logEntry): void
|
||||
{
|
||||
//Skip if this does not provide any info...
|
||||
if (!$logEntry->hasOldDataInformations()) {
|
||||
if (!$logEntry->hasOldDataInformation()) {
|
||||
return;
|
||||
}
|
||||
if (!$element instanceof TimeStampableInterface) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue