Fix notice because of a missing subject
This commit is contained in:
parent
75a62fc9e4
commit
c9c408d5e5
1 changed files with 1 additions and 1 deletions
|
@ -562,7 +562,7 @@ class OnePoll
|
||||||
}
|
}
|
||||||
|
|
||||||
// Decoding the header
|
// Decoding the header
|
||||||
$subject = imap_mime_header_decode($meta->subject);
|
$subject = imap_mime_header_decode($meta->subject ?? '');
|
||||||
$datarray['title'] = "";
|
$datarray['title'] = "";
|
||||||
foreach ($subject as $subpart) {
|
foreach ($subject as $subpart) {
|
||||||
if ($subpart->charset != "default") {
|
if ($subpart->charset != "default") {
|
||||||
|
|
Loading…
Reference in a new issue