diff --git a/src/ORM/BelongsTo.php b/src/ORM/BelongsTo.php index 2274f3e..aa3e311 100644 --- a/src/ORM/BelongsTo.php +++ b/src/ORM/BelongsTo.php @@ -16,7 +16,7 @@ class BelongsTo { $this->localElement = $localElement; } - + // Yes function get() { return $this->foreignObject::findOne(Array($this->remoteField => Array('=', $this->localElement->{$this->localField}))); }