diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-08-31 09:55:00 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-08-31 09:55:00 +0200 |
commit | b5652641be7ebf4f1b7f115333989d2c971275ea (patch) | |
tree | 1a4ab029f74f08bc05cea9b11a8c5a1aa7afb5be /program/include/rcube_imap.php | |
parent | 24fa5d315413fe4042bca175507457e1e660de6f (diff) |
Small improvements in APPEND command handling
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r-- | program/include/rcube_imap.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index 5dd9c1250..66b5c4bd6 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -2222,6 +2222,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) { |