imap : revert partial

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5825 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2019-12-09 14:37:13 +00:00
parent 72465269a3
commit ebbd6144d6

View File

@@ -506,7 +506,7 @@ class imap
imap_errors();
$content = @imap_body (self::$instance[$this->mailbox], $msgno);
$errors = imap_errors ();
if ($errors !== false || $content === "")
if ($errors !== false)
throw new \Exception ("Mail not found", 404);
return $content;
}