Skip to content
Snippets Groups Projects
Commit b1c845bf authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Fix syntax error in attachment processing

parent 6f866f14
No related branches found
No related tags found
No related merge requests found
......@@ -205,7 +205,7 @@ class MailFetcher {
throw new Exception();
stream_filter_remove($s_filter);
fclose($f);
if (!($f = fopen($temp, 'r')) || !($text = fread($f, filesize($temp)))
if (!($f = fopen($temp, 'r')) || !($text = fread($f, filesize($temp))))
throw new Exception();
fclose($f);
unlink($temp);
......
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