mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 18:03:37 +02:00
Fixed issue with FixInheritanceMappingMetadataFactory
This commit is contained in:
parent
2f958dafae
commit
e339b7d9f0
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class FixInheritanceMappingMetadataFacory implements ResourceMetadataCollectionF
|
||||||
{
|
{
|
||||||
//If we already have a cached value, we can return it
|
//If we already have a cached value, we can return it
|
||||||
if (isset($this->cache[$resourceClass])) {
|
if (isset($this->cache[$resourceClass])) {
|
||||||
return $this->cache[$resourceClass];
|
return $this->decorated->create($this->cache[$resourceClass]);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Check if the resourceClass is a single inheritance class, then we can use the parent class to access it
|
//Check if the resourceClass is a single inheritance class, then we can use the parent class to access it
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue