imap : revert partial
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5825 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2
imap.php
2
imap.php
@@ -506,7 +506,7 @@ class imap
|
|||||||
imap_errors();
|
imap_errors();
|
||||||
$content = @imap_body (self::$instance[$this->mailbox], $msgno);
|
$content = @imap_body (self::$instance[$this->mailbox], $msgno);
|
||||||
$errors = imap_errors ();
|
$errors = imap_errors ();
|
||||||
if ($errors !== false || $content === "")
|
if ($errors !== false)
|
||||||
throw new \Exception ("Mail not found", 404);
|
throw new \Exception ("Mail not found", 404);
|
||||||
return $content;
|
return $content;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user