From ba86b72607e6c0f26e5896346f407b3a9222b995 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 20 Nov 2008 15:44:39 -0700 Subject: [PATCH] $_cacheOb might not be initialized here yet. --- framework/Imap_Client/lib/Horde/Imap/Client/Socket.php | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php b/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php index dcfb002c9..b99da3dd4 100644 --- a/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php +++ b/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php @@ -767,6 +767,7 @@ class Horde_Imap_Client_Socket extends Horde_Imap_Client_Base /* If QRESYNC is available, synchronize the mailbox. */ if ($qresync) { + $this->_initCacheOb(); $metadata = $this->_cacheOb->getMetaData($mailbox, array('HICmodseq', 'uidvalid')); if (isset($metadata['HICmodseq'])) { $uids = $this->_cacheOb->get($mailbox); -- 2.11.0