diff options
Diffstat (limited to 'program/include/rcube_imap_generic.php')
-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 2dc1e3750..96865e237 100644 --- a/program/include/rcube_imap_generic.php +++ b/program/include/rcube_imap_generic.php @@ -708,7 +708,7 @@ class rcube_imap_generic function close() { - if ($this->putLine("I LOGOUT")) { + if ($this->logged && $this->putLine("I LOGOUT")) { if (!feof($this->fp)) fgets($this->fp, 1024); } |