mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 23:12:55 +00:00
Prevent crash
This commit is contained in:
parent
a97e189263
commit
583a82051e
1 changed files with 1 additions and 1 deletions
|
@ -2397,7 +2397,7 @@ public class HtmlHelper {
|
|||
|
||||
ByteArrayInputStream bis = new ByteArrayInputStream(headers.getBytes());
|
||||
String[] received = new InternetHeaders(bis).getHeader("Received");
|
||||
if (received.length > 0) {
|
||||
if (received != null && received.length > 0) {
|
||||
ssb.append('\n');
|
||||
for (int i = received.length - 1; i >= 0; i--) {
|
||||
String h = MimeUtility.unfold(received[i]);
|
||||
|
|
Loading…
Reference in a new issue