]> git.mxchange.org Git - friendica.git/commitdiff
Fix notice because of a missing subject
authorMichael <heluecht@pirati.ca>
Fri, 20 Dec 2019 21:47:10 +0000 (21:47 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 20 Dec 2019 21:47:10 +0000 (21:47 +0000)
src/Worker/OnePoll.php

index 3dbc0cccd1cd06c3ebd8e481862b65d6c8f4fc75..f2ba89adf7bc99bfde1a93d0f89b2880072804b6 100644 (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") {