summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-11-28 08:53:48 +0000
committeralecpl <alec@alec.pl>2008-11-28 08:53:48 +0000
commit7342d7ef8c277c32bb161eeb585d98099f2b04fe (patch)
tree03b38c6b5a7723d436486fad212c4d3adb69e6ed /index.php
parentb2265aea867124e201e7883ac16df05dd446fae5 (diff)
- re-fix r2095
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 8b31f9987..d4fc54304 100644
--- a/index.php
+++ b/index.php
@@ -100,7 +100,7 @@ if ($RCMAIL->action=='login' && $RCMAIL->task=='mail') {
$OUTPUT->redirect();
}
else {
- $OUTPUT->show_message($IMAP->error_code == 0 ? 'loginfailed' : 'imaperror', 'warning');
+ $OUTPUT->show_message($IMAP->error_code < -1 ? 'imaperror' : 'loginfailed', 'warning');
$RCMAIL->kill_session();
}
}