summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-10-18 14:24:49 +0200
committerAleksander Machniak <alec@alec.pl>2012-10-18 14:24:49 +0200
commitef790693374bae5851060c1a085a37ebdf1b9b0d (patch)
tree9d72aeddde4b3be0de5cdc9312fd4910fb98533c /program/include
parent540de577de25338d727bddf85537e1679dd49eb5 (diff)
parent9f0ca2dca669a3f379d8582f128b7cca7056a921 (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/include')
-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 0c2bf64b4..7a49095f7 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -2102,8 +2102,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 {