summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-10-16 17:57:05 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-10-16 17:57:05 +0200
commit464a0fba9d8376962fa216b4fd9e023a3182f7fa (patch)
tree987ba2ac3009dabeafc9835261144c498cbc48b0 /program
parent699cb1fda3594705918c987714e7277572afb8b0 (diff)
Display connection errors in UI. Stack error messages in popup (Larry skin)
Diffstat (limited to 'program')
-rw-r--r--program/steps/mail/func.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index e3866aa57..c21202588 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -68,6 +68,9 @@ if (!empty($_REQUEST['_search']) && isset($_SESSION['search'])
// set main env variables, labels and page title
if (empty($RCMAIL->action) || $RCMAIL->action == 'list') {
+ // connect to storage server and trigger error on failure
+ $RCMAIL->storage_connect();
+
$mbox_name = $RCMAIL->storage->get_folder();
if (empty($RCMAIL->action)) {