Mudanças

This commit is contained in:
Your Name
2022-03-29 16:14:12 +00:00
parent 1669a4279d
commit 5835106252
+1 -1
View File
@@ -16,7 +16,7 @@ class BelongsTo {
$this->localElement = $localElement; $this->localElement = $localElement;
} }
// Yes
function get() { function get() {
return $this->foreignObject::findOne(Array($this->remoteField => Array('=', $this->localElement->{$this->localField}))); return $this->foreignObject::findOne(Array($this->remoteField => Array('=', $this->localElement->{$this->localField})));
} }