Skip to content

Commit d25d800

Browse files
committed
wrong changes for me. ObjectId may be absent
1 parent 42bc499 commit d25d800

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

main/Base/LightMetaProperty.class.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -360,14 +360,7 @@ public function fillQuery(
360360
return $query;
361361

362362
$getter = $this->getter;
363-
364-
if (
365-
$this->relationId
366-
&& $this->strategyId == FetchStrategy::LAZY
367-
) {
368-
$getter = $getter.'Id';
369-
}
370-
363+
371364
$value = $object->{$getter}();
372365

373366
if ($this->type == 'binary') {

0 commit comments

Comments
 (0)