From 6d5c75d9b9a5eb7a01ae1283147f602d0af07791 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 27 Jul 2009 21:54:17 -0600 Subject: [PATCH] Don't update cache unless we have something to update it with --- framework/Imap_Client/lib/Horde/Imap/Client/Socket.php | 4 +++- 1 file changed, 3 insertions(+), 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 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']; -- 2.11.0