diff options
author | Arkadiusz MiĆkiewicz <arekm@maven.pl> | 2022-01-31 20:09:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-31 20:09:34 +0300 |
commit | 03e8c51c7fb383de9891f23fd2a3881e1e69e9b6 (patch) | |
tree | 6ff7521a2a8c780dc9f9756dc16ceda18ef4d398 | |
parent | e38d4e1eacf07f50f91a88505e17ee4f80611326 (diff) |
Fix regression in showing attachments (#8425). (#8430)
a5c2b4360c731aa7cdd8ddbfc866953cf366d5f3 started initializing
$this->got_html_part always but this check wasn't updated.
-rw-r--r-- | program/lib/Roundcube/rcube_message.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_message.php b/program/lib/Roundcube/rcube_message.php index efb8049c2..fd28f3fe1 100644 --- a/program/lib/Roundcube/rcube_message.php +++ b/program/lib/Roundcube/rcube_message.php @@ -979,7 +979,7 @@ class rcube_message // MS Outlook sends sometimes non-related attachments as related // In this case multipart/related message has only one text part // We'll add all such attachments to the attachments list - if (!isset($this->got_html_part)) { + if ($this->got_html_part === false) { $this->add_part($inline_object, 'attachment'); } // MS Outlook sometimes also adds non-image attachments as related |