Small fixes

This commit is contained in:
RainLoop Team 2016-05-22 20:35:09 +03:00
parent fcfd54215a
commit aeec36de19
7 changed files with 123 additions and 129 deletions

View file

@ -995,8 +995,13 @@ class ImapClient extends \MailSo\Net\NetClient
*/
public function FolderUnSelect()
{
return $this->IsSelected() && $this->IsSupported('UNSELECT') ?
$this->SendRequestWithCheck('UNSELECT') : $this;
if ($this->IsSelected() && $this->IsSupported('UNSELECT'))
{
$this->SendRequestWithCheck('UNSELECT');
$this->bIsSelected = false;
}
return $this;
}
/**