Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/164'
Browse files Browse the repository at this point in the history
Close #164
  • Loading branch information
weierophinney committed Jun 6, 2018
2 parents 361c169 + 8ab75e3 commit be26a55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ All notable changes to this project will be documented in this file, in reverse

### Fixed

- [#164](https://github.com/zendframework/zend-mail/pull/164) fixes the return value from `Zend\Mail\Protocol\Imap::capability()` when no response is
returned from the server; previously, it returned `false`, but now correctly returns an empty array.

- [#148](https://github.com/zendframework/zend-mail/pull/148) fixes how `Zend\Mail\Header\AbstractAddressList` parses address values, ensuring
that they now retain any address comment discovered to include in the generated `Zend\Mail\Address` instances.

Expand Down
2 changes: 1 addition & 1 deletion src/Protocol/Imap.php
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ public function capability()
$response = $this->requestAndResponse('CAPABILITY');

if (! $response) {
return $response;
return [];
}

$capabilities = [];
Expand Down

0 comments on commit be26a55

Please sign in to comment.