mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-12 11:24:31 +02:00
Allow to undo a change from event log.
This commit is contained in:
parent
15d25cf2b2
commit
5a5d7b24be
24 changed files with 659 additions and 30 deletions
|
@ -60,6 +60,9 @@ class TimeTravel
|
|||
//Set internal ID so the element can be reverted
|
||||
$this->setField($element, 'id', $id);
|
||||
|
||||
//Let database determine when it will be created
|
||||
$this->setField($element,'addedDate', null);
|
||||
|
||||
return $element;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue