diff options
author | Paweł Słowik <pawel.slowik@iq.pl> | 2012-09-03 15:10:26 +0200 |
---|---|---|
committer | Paweł Słowik <pawel.slowik@iq.pl> | 2012-09-03 15:10:26 +0200 |
commit | 197a3e6faf9258c3cc78810081f3368325045d57 (patch) | |
tree | a51ad6b2b2701e7746b53f4507fded64821a0ba5 /program/include/rcube_imap.php | |
parent | ffb160147a324f4b8744d13c97e1ca4177a8167a (diff) | |
parent | 4bb0bffefe3d0772f10bfd4acc3e8ccb1193211d (diff) |
Merge branch 'master' of https://github.com/roundcube/roundcubemail
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) { |