mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-21 14:47:24 +01:00
Fixed issue with FixInheritanceMappingMetadataFactory
This commit is contained in:
@@ -51,7 +51,7 @@ class FixInheritanceMappingMetadataFacory implements ResourceMetadataCollectionF
|
||||
{
|
||||
//If we already have a cached value, we can return it
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user