diff options
-rw-r--r-- | program/include/rcube_imap_generic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php index e8654cdd2..451f980d3 100644 --- a/program/include/rcube_imap_generic.php +++ b/program/include/rcube_imap_generic.php @@ -709,7 +709,7 @@ class rcube_imap_generic // do plain text auth $result = $this->login($user, $password); } -write_log('imap', '----------'); + if (is_resource($result)) { if ($this->prefs['force_caps']) { $this->clearCapability(); |