Fix notice because of a missing subject

2022.09-rc
Michael 2019-12-20 21:47:10 +00:00
rodzic 75a62fc9e4
commit c9c408d5e5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -562,7 +562,7 @@ class OnePoll
}
// Decoding the header
$subject = imap_mime_header_decode($meta->subject);
$subject = imap_mime_header_decode($meta->subject ?? '');
$datarray['title'] = "";
foreach ($subject as $subpart) {
if ($subpart->charset != "default") {