Skip to content
Snippets Groups Projects
Unverified Commit f04f547b authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #4876 from JediKev/oops/eml-msg-missing-not-operator

oops: .eml/.msg Missing Not Operator
parents 406c84e1 ce8aadf8
No related branches found
No related tags found
No related merge requests found
...@@ -701,7 +701,7 @@ class MailFetcher { ...@@ -701,7 +701,7 @@ class MailFetcher {
$body = $this->fetchBody($mid, $info['index'].'.0', $body = $this->fetchBody($mid, $info['index'].'.0',
$info['encoding']); $info['encoding']);
// Add fake body to make the parser happy // Add fake body to make the parser happy
if ($body) if (!$body)
$body.="\n\nJunk"; $body.="\n\nJunk";
$parser = new Mail_Parse($body); $parser = new Mail_Parse($body);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment