From 1a2754d18ca079ea55e4c272d7cdc9dc33c00179 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Wed, 16 Feb 2011 04:42:31 -0500 Subject: [PATCH] - Applied fixes from trunk --- program/include/rcmail.php | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 4ff790d..e1dc22d 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -1071,9 +1071,6 @@ */ public function shutdown() { - if (is_object($this->imap)) - $this->imap->close(); - if (is_object($this->smtp)) $this->smtp->disconnect(); @@ -1198,6 +1195,9 @@ } } + if (is_object($this->imap)) + $this->imap->close(); + return $base64 ? base64_encode($cipher) : $cipher; } -- Gitblit v1.9.1