mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-08 01:14:34 +02:00
Fixed deprecations
This commit is contained in:
parent
5faeb5dd56
commit
8b8079a6f1
3 changed files with 4 additions and 4 deletions
|
@ -127,7 +127,7 @@ class TreeViewGenerator
|
|||
}
|
||||
|
||||
if ($href_type !== '' && null !== $item->getId()) {
|
||||
$entity = $this->em->getPartialReference($class, $item->getId());
|
||||
$entity = $this->em->find($class, $item->getId());
|
||||
$item->setHref($this->urlGenerator->getURL($entity, $href_type));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue