Merge pull request #7976 from annando/notice

Fix notice because of a missing subject
This commit is contained in:
Hypolite Petovan 2019-12-20 17:05:42 -05:00 committed by GitHub
commit c57b2d3821
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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") {