modify mysql result

This commit is contained in:
2022-04-28 03:22:53 +08:00
parent 7ea0bee73f
commit 2ace780fcb
+1 -1
View File
@@ -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;