From: Michael M Slusarz Date: Fri, 8 Oct 2010 21:55:07 +0000 (-0600) Subject: Fix object call X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ea14b52952495f77e29ea75c45df618669a4d3f4;p=horde.git Fix object call --- diff --git a/imp/mailbox.php b/imp/mailbox.php index 4573619aa..3e58000e3 100644 --- a/imp/mailbox.php +++ b/imp/mailbox.php @@ -83,7 +83,7 @@ if ($actionID && ($actionID != 'message_missing')) { * the RECENT flag. */ if (!$search_mbox) { try { - $imp_imap->openMailbox(IMP::$mailbox, Horde_Imap_Client::OPEN_READWRITE); + $imp_imap->ob->openMailbox(IMP::$mailbox, Horde_Imap_Client::OPEN_READWRITE); } catch (Horde_Imap_Client_Exception $e) { $actionID = null; } @@ -361,7 +361,7 @@ Horde::addScriptFile('mailbox.js', 'imp'); if (!empty($newmsgs)) { /* Open the mailbox R/W so we ensure the 'recent' flags are cleared from * the current mailbox. */ - $imp_imap->openMailbox(IMP::$mailbox, Horde_Imap_Client::OPEN_READWRITE); + $imp_imap->ob->openMailbox(IMP::$mailbox, Horde_Imap_Client::OPEN_READWRITE); if ($vars->newmail) { /* Newmail alerts. */