Skip to content

Commit 1da270d

Browse files
authored
Merge pull request #644 from Patta/patch-2
[BUGFIX] explicitly resolve the LazyLoadingProxy of getFeuser
2 parents 67cafd7 + fef61d5 commit 1da270d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Classes/Domain/Model/Mail.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@ public function setBody(string $body): Mail
258258
*/
259259
public function getFeuser()
260260
{
261+
if ($this->feuser instanceof LazyLoadingProxy) {
262+
$this->feuser->_loadRealInstance();
263+
}
261264
return $this->feuser;
262265
}
263266

0 commit comments

Comments
 (0)