Skip to content

Commit 0a7f05b

Browse files
committed
missing fetch_flags attribute added
1 parent 85bba6a commit 0a7f05b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IMAP/Query/Query.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public function get() {
165165
}
166166

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

0 commit comments

Comments
 (0)