From 7342d7ef8c277c32bb161eeb585d98099f2b04fe Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 28 Nov 2008 08:53:48 +0000 Subject: - re-fix r2095 --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') 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(); } } -- cgit v1.2.3