From ebbd6144d6166bf0856b08f303a9a621dc15da99 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Mon, 9 Dec 2019 14:37:13 +0000 Subject: [PATCH] imap : revert partial git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5825 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- imap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imap.php b/imap.php index f8e3008..a9653fa 100644 --- a/imap.php +++ b/imap.php @@ -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; }