From e29922bb549251ca7a481e1f816619e66bc35d22 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Mon, 22 Oct 2012 02:37:24 -0400 Subject: [PATCH] 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(+), 0 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 84825eb..a2a0c0b 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 bc1585e..87a23bd 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -2212,6 +2212,10 @@ $folder = $this->folder; } + if (!$this->check_connection()) { + return false; + } + // make sure folder exists if ($this->folder_exists($folder)) { if ($is_file) { -- Gitblit v1.9.1