From e29922bb549251ca7a481e1f816619e66bc35d22 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 22 Oct 2012 08:37:24 +0200 Subject: Fix a bug where saving a message in INBOX wasn't possible --- CHANGELOG | 1 + program/include/rcube_imap.php | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 84825eb37..a2a0c0b93 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ CHANGELOG Roundcube Webmail =========================== +- Fix a bug where saving a message in INBOX wasn't possible - Fix HTML part detection in messages with attachments (#1488769) - Fix bug where wrong words were highlighted on spell-before-send check - Fix scrolling quirk in email preview frame using Opera 12 (#1488763) diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index bc1585e13..87a23bdb3 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -2212,6 +2212,10 @@ class rcube_imap extends rcube_storage $folder = $this->folder; } + if (!$this->check_connection()) { + return false; + } + // make sure folder exists if ($this->folder_exists($folder)) { if ($is_file) { -- cgit v1.2.3