truonglv
Well-known member
- Affected version
- 2.0.7
In the method Manager::getRelation(...) could be return null when the key has more than 1 element.
It's maybe use the method: findOne when has more than 1 element?
PHP:
return $this->find($relation['entity'], count($key) > 1 ? $key : reset($key), $extraWith);
It's maybe use the method: findOne when has more than 1 element?