Skip to content

Commit

Permalink
missing fetch_flags attribute added
Browse files Browse the repository at this point in the history
  • Loading branch information
Webklex committed Jul 26, 2018
1 parent 85bba6a commit 0a7f05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IMAP/Query/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function get() {
}

$available_messages->forPage($this->page, $this->limit)->each(function($msgno, $msglist) use(&$messages, $options) {
$oMessage = new Message($msgno, $msglist, $this->getClient(), $this->getFetchOptions(), $this->getFetchBody(), $this->getFetchAttachment());
$oMessage = new Message($msgno, $msglist, $this->getClient(), $this->getFetchOptions(), $this->getFetchBody(), $this->getFetchAttachment(), $this->getFetchFlags());
switch ($options['message_key']){
case 'number':
$message_key = $oMessage->getMessageNo();
Expand Down

0 comments on commit 0a7f05b

Please sign in to comment.