Silence errors on bad stream
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 16 Oct 2009 09:08:25 +0000 (03:08 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 16 Oct 2009 09:08:25 +0000 (03:08 -0600)
framework/Imap_Client/lib/Horde/Imap/Client/Socket.php

index 78e533b..0a5d947 100644 (file)
@@ -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;
         }
     }