diff --git a/Relation.php b/Relation.php index cee8a27..c249075 100644 --- a/Relation.php +++ b/Relation.php @@ -102,7 +102,7 @@ class Relation extends Component $activeModel = $this->_query[$identification]->get(); if (empty($activeModel)) { - return null; + return $activeModel; } return $this->_relations[$_identification] = $activeModel;