mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-02 21:12:02 +08:00
Check if $rImapLiteralStream is open resource and not closed
This commit is contained in:
parent
9a4da9d7f0
commit
78e294e98e
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ trait ResponseParser
|
|||
$this->writeLogException($oException, \LOG_NOTICE, false);
|
||||
}
|
||||
|
||||
if ($rImapLiteralStream) {
|
||||
if (\is_resource($rImapLiteralStream)) {
|
||||
$iNotReadLiteralLen = 0;
|
||||
|
||||
$bFeof = \feof($rImapLiteralStream);
|
||||
|
|
Loading…
Reference in a new issue