From: Michael M Slusarz Date: Tue, 28 Jul 2009 03:54:17 +0000 (-0600) Subject: Don't update cache unless we have something to update it with X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=6d5c75d9b9a5eb7a01ae1283147f602d0af07791;p=horde.git Don't update cache unless we have something to update it with --- diff --git a/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php b/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php index d41def619..ca3fe5f23 100644 --- a/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php +++ b/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php @@ -2740,7 +2740,9 @@ class Horde_Imap_Client_Socket extends Horde_Imap_Client_Base } } - $this->_updateCache($out); + if (!empty($out)) { + $this->_updateCache($out); + } } return $this->_temp['modified'];