From 464a0fba9d8376962fa216b4fd9e023a3182f7fa Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Tue, 16 Oct 2012 17:57:05 +0200 Subject: Display connection errors in UI. Stack error messages in popup (Larry skin) --- program/steps/mail/func.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'program/steps') 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)) { -- cgit v1.2.3