mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-09 13:38:41 +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));
|
$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);
|
$countResulsts = \count($obj);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user