summaryrefslogtreecommitdiff
path: root/program
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 /program
parent2ca73b1d5c718326c81598a9c6c26950b5ae1f0b (diff)
Fix a bug where saving a message in INBOX wasn't possible
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_imap.php4
1 files changed, 4 insertions, 0 deletions
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) {