alecpl
2011-05-17 fcbf7a12fff1a3cd8bbace46d9b61e4ce5b6a7ce
- Fix issue which cases IMAP disconnection when encrypt() method was used (#1487900), caused by commit r4554 caused by wron patch aplication


2 files modified
7 ■■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/include/rcmail.php 6 ●●●● patch | view | raw | blame | history
CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
- Fix issue which cases IMAP disconnection when encrypt() method was used (#1487900)
- Fix some CSS issues in Settings for Internet Explorer
- Fixed handling of folder with name "0" in folder selector
- Fix bug where messages were deleted instead moved to trash folder after Shift key was used (#1487902)
program/include/rcmail.php
@@ -1078,6 +1078,9 @@
      if (is_object($book))
        $book->close();
    if (is_object($this->imap))
      $this->imap->close();
    // before closing the database connection, write session data
    if ($_SERVER['REMOTE_ADDR'])
      session_write_close();
@@ -1192,9 +1195,6 @@
        ), true, true);
      }
    }
    if (is_object($this->imap))
      $this->imap->close();
    return $base64 ? base64_encode($cipher) : $cipher;
  }