$_cacheOb might not be initialized here yet.
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 20 Nov 2008 22:44:39 +0000 (15:44 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 21 Nov 2008 05:13:12 +0000 (22:13 -0700)
framework/Imap_Client/lib/Horde/Imap/Client/Socket.php

index dcfb002..b99da3d 100644 (file)
@@ -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);