From 1ba857d0e16741ed62d578e3578689f46ddabb21 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 16 Oct 2009 03:08:25 -0600 Subject: [PATCH] Silence errors on bad stream --- framework/Imap_Client/lib/Horde/Imap/Client/Socket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php b/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php index 78e533b6d..0a5d9475d 100644 --- a/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php +++ b/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php @@ -605,7 +605,7 @@ class Horde_Imap_Client_Socket extends Horde_Imap_Client_Base } catch (Horde_Imap_Client_Exception $e) {} } unset($this->_temp['logout']); - fclose($this->_stream); + @fclose($this->_stream); $this->_stream = null; } } -- 2.11.0