From f05bb205e5fd49f9c13ca6fbf6b5da3bc88713b5 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Fri, 30 Sep 2022 14:10:02 +0200 Subject: [PATCH] Bugfix: Call to a member function append() on null --- snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Messages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Messages.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Messages.php index 6cb11dea7..fc223131f 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Messages.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Messages.php @@ -1018,7 +1018,7 @@ trait Messages \MailSo\Base\ResourceRegistry::CreateMemoryResourceFromString(\preg_replace('/\\r?\\n/su', "\r\n", \trim($sText))), 'convert.quoted-printable-encode' ); - $this->SubParts->append($oPart); + $oMessage->SubParts->append($oPart); $this->Plugins()->RunHook('filter.build-read-receipt-message', array($oMessage, $oAccount));