summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/include/rcmail.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index ee144faca..3b6c6cf15 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -2112,8 +2112,7 @@ class rcmail extends rcube
if (!$storage->connect($host, $user, $pass, $port, $ssl)) {
if (is_object($this->output)) {
- $error = $storage->get_error_code() == -1 ? 'storageerror' : 'sessionerror';
- $this->output->show_message($error, 'error');
+ $this->output->show_message('storageerror', 'error');
}
}
else {