Skip to content

Commit

Permalink
Bug: 14097 - This is only needed if we have LIST-STATUS as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Sep 2, 2015
1 parent 4de3efc commit 865fd1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Imap_Client/lib/Horde/Imap/Client/Socket.php
Expand Up @@ -1536,7 +1536,7 @@ protected function _getMailboxList($pattern, $mode, $options,
}

/* Add in STATUS return, if needed. */
if (!empty($options['status'])) {
if (!empty($options['status']) && $this->_capability('LIST-STATUS')) {
foreach ($pattern as $val) {
$val_utf8 = Horde_Imap_Client_Utf7imap::Utf7ImapToUtf8($val);
if (isset($lr[$val_utf8])) {
Expand Down

0 comments on commit 865fd1d

Please sign in to comment.