mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-20 13:28:42 +00:00
Fix depth bug
This commit is contained in:
parent
a62304baaa
commit
8f0688f46d
|
|
@ -2239,7 +2239,7 @@ class DataMapperAbstract implements DataMapperInterface
|
|||
$toLoad = self::getPrimaryKeysBy($value, self::getColumnByMember($ref));
|
||||
}
|
||||
|
||||
$obj[$value] = self::get($toLoad, $relations, $fill, --$depth);
|
||||
$obj[$value] = self::get($toLoad, $relations, $fill, $depth);
|
||||
}
|
||||
|
||||
$countResulsts = \count($obj);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user