blob: 4a03a01f21788e74c00e65015fa13cc7bf57b872 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- CHANGELOG
+++ CHANGELOG
@@ -2,4 +2,5 @@
===========================
+- 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
--- program/include/rcmail.php
+++ program/include/rcmail.php
@@ -1079,4 +1079,7 @@
$book->close();
+ if (is_object($this->imap))
+ $this->imap->close();
+
// before closing the database connection, write session data
if ($_SERVER['REMOTE_ADDR'])
@@ -1194,7 +1197,4 @@
}
- if (is_object($this->imap))
- $this->imap->close();
-
return $base64 ? base64_encode($cipher) : $cipher;
}
|