summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-10-22 08:37:24 +0200
committerAleksander Machniak <alec@alec.pl>2012-10-22 08:37:24 +0200
commite29922bb549251ca7a481e1f816619e66bc35d22 (patch)
tree43fd48968174e672341de7568bcaa6644ad44ba0
parent2ca73b1d5c718326c81598a9c6c26950b5ae1f0b (diff)
Fix a bug where saving a message in INBOX wasn't possible
-rw-r--r--CHANGELOG1
-rw-r--r--program/include/rcube_imap.php4
2 files changed, 5 insertions, 0 deletions
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) {