From: Michael M Slusarz Date: Thu, 20 Nov 2008 22:44:39 +0000 (-0700) Subject: $_cacheOb might not be initialized here yet. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ba86b72607e6c0f26e5896346f407b3a9222b995;p=horde.git $_cacheOb might not be initialized here yet. --- 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);