From 93f76e4c02ce74548c89b39072a1809a4fb7d5f8 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Mon, 9 Oct 2023 09:24:21 +0200 Subject: [PATCH] fixup! fix(sync): return if headers couldn't be parsed --- lib/IMAP/ImapMessageFetcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/IMAP/ImapMessageFetcher.php b/lib/IMAP/ImapMessageFetcher.php index 8f00ceecac..e2e7dd1b3a 100644 --- a/lib/IMAP/ImapMessageFetcher.php +++ b/lib/IMAP/ImapMessageFetcher.php @@ -523,7 +523,7 @@ private function parseHeaders(Horde_Imap_Client_Data_Fetch $fetch): void { if ($listUnsubscribeHeader !== null) { $listHeaders = new Horde_ListHeaders(); $headers = $listHeaders->parse($listUnsubscribeHeader->name, $listUnsubscribeHeader->value_single); - if(!$headers) { + if (!$headers) { // Unable to parse headers return; }