Skip to content

Commit

Permalink
Merge branch 'ysramirez-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeboer committed Aug 11, 2014
2 parents 14be6ee + 6dd4cb2 commit 00e99a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ddeboer/Imap/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public function getHeaders()
// \imap_header is much faster than \imap_fetchheader
// \imap_header returns only a subset of all mail headers,
// but it does include the message flags.
$headers = \imap_header($this->stream, $this->messageNumber);
$headers = \imap_header($this->stream, \imap_msgno($this->stream, $this->messageNumber));
$this->headers = new Message\Headers($headers);
}

Expand Down

0 comments on commit 00e99a5

Please sign in to comment.