From: Michael M Slusarz Date: Tue, 19 May 2009 18:45:18 +0000 (-0600) Subject: Bug #8295: Fix mbox import X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=970bbaaa624895afdb7835aa199b3ee0fc8a66a6;p=horde.git Bug #8295: Fix mbox import --- diff --git a/imp/lib/Folder.php b/imp/lib/Folder.php index 3abd6689d..2d55f0f65 100644 --- a/imp/lib/Folder.php +++ b/imp/lib/Folder.php @@ -542,7 +542,7 @@ class IMP_Folder if (preg_match('/From (.+@.+|- )/A', $line)) { if (!empty($message)) { try { - $GLOBALS['imp_imap']->ob->append($mbox, array(array('data' => $message))); + $GLOBALS['imp_imap']->ob->append($folder, array(array('data' => $message))); ++$msgcount; } catch (Horde_Imap_Client_Exception $e) {} } @@ -555,7 +555,7 @@ class IMP_Folder if (!empty($message)) { try { - $GLOBALS['imp_imap']->ob->append($mbox, array(array('data' => $message))); + $GLOBALS['imp_imap']->ob->append($folder, array(array('data' => $message))); ++$msgcount; } catch (Horde_Imap_Client_Exception $e) {} }