From: Michael Date: Fri, 20 Dec 2019 21:47:10 +0000 (+0000) Subject: Fix notice because of a missing subject X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c9c408d5e5aeb3c9f29af44c3a36845255d2bb9d;p=friendica.git Fix notice because of a missing subject --- diff --git a/src/Worker/OnePoll.php b/src/Worker/OnePoll.php index 3dbc0cccd1..f2ba89adf7 100644 --- a/src/Worker/OnePoll.php +++ b/src/Worker/OnePoll.php @@ -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") {