Merge pull request #7976 from annando/notice
Fix notice because of a missing subject
This commit is contained in:
commit
c57b2d3821
|
@ -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") {
|
||||
|
|
Loading…
Reference in New Issue
Block a user