From f5059f69b019f51675b0d641d57205653897e10e Mon Sep 17 00:00:00 2001 From: thomasb Date: Sat, 25 Feb 2012 18:15:25 +0000 Subject: Connect to IMAP server before reading quota git-svn-id: https://svn.roundcube.net/trunk@5912 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_imap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roundcubemail/program/include/rcube_imap.php b/roundcubemail/program/include/rcube_imap.php index 70b410ff8..fa3f60c3f 100644 --- a/roundcubemail/program/include/rcube_imap.php +++ b/roundcubemail/program/include/rcube_imap.php @@ -2729,7 +2729,7 @@ class rcube_imap extends rcube_storage */ public function get_quota() { - if ($this->get_capability('QUOTA')) { + if ($this->get_capability('QUOTA') && $this->check_connection()) { return $this->conn->getQuota(); } -- cgit v1.2.3