diff --git a/include/class.mailfetch.php b/include/class.mailfetch.php index 2db19fc7bf7166082a223c038fcbbb8b7a9942b7..0faad06a52b8c7a702b4946a7c60d22fde51bbb3 100644 --- a/include/class.mailfetch.php +++ b/include/class.mailfetch.php @@ -701,7 +701,7 @@ class MailFetcher { $body = $this->fetchBody($mid, $info['index'].'.0', $info['encoding']); // Add fake body to make the parser happy - if ($body) + if (!$body) $body.="\n\nJunk"; $parser = new Mail_Parse($body);