Skip to content

Commit 740863e

Browse files
committed
Reading a blank body (text / html) but only from this sender #203
1 parent c13b72f commit 740863e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IMAP/Message.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ private function fetchStructure($structure, $partNumber = null) {
663663

664664
if ($structure->type == IMAP::MESSAGE_TYPE_TEXT &&
665665
($structure->ifdisposition == 0 ||
666-
($structure->ifdisposition == 1 && !isset($structure->parts) && $partNumber == null)
666+
($structure->ifdisposition == 1 && !isset($structure->parts) && $partNumber != null)
667667
)
668668
) {
669669
if ($structure->subtype == "PLAIN") {

0 commit comments

Comments
 (0)