mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-12 11:24:31 +02:00
Allow to undelete attachments and parameters
Before they were just mapped to the abstract base class, which is not instantiable. Now we properly map them to the correct sub class and no error occurs.
This commit is contained in:
parent
4b76d991dd
commit
81abf36867
2 changed files with 122 additions and 1 deletions
|
@ -53,6 +53,7 @@ class TimeTravel
|
|||
$this->repo = $em->getRepository(AbstractLogEntry::class);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Undeletes the element with the given ID.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue