diff options
author | alecpl <alec@alec.pl> | 2008-11-28 08:53:48 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-11-28 08:53:48 +0000 |
commit | 7342d7ef8c277c32bb161eeb585d98099f2b04fe (patch) | |
tree | 03b38c6b5a7723d436486fad212c4d3adb69e6ed /index.php | |
parent | b2265aea867124e201e7883ac16df05dd446fae5 (diff) |
- re-fix r2095
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); } } |