From 583510625203621d128cff981ffdde0245b71e29 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 29 Mar 2022 16:14:12 +0000 Subject: [PATCH] =?UTF-8?q?Mudan=C3=A7as?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ORM/BelongsTo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}))); }