fix saving as draft for devel aswell, thanks Thierry Godefroy
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 13 May 2008 09:30:01 +0000 (09:30 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 13 May 2008 09:30:01 +0000 (09:30 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13131 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/compose.php

index b218d7b797f99ce0e99cc9b9ab5e8b8543a17708..b548153f887ade6281a2269058ffb8b9446ab348 100644 (file)
@@ -1606,7 +1606,7 @@ function deliverMessage(&$composeMessage, $draft=false) {
         if (sqimap_mailbox_exists ($imap_stream, $draft_folder)) {
             require_once(SM_PATH . 'class/deliver/Deliver_IMAP.class.php');
             $imap_deliver = new Deliver_IMAP();
-            $success = $imap_deliver->mail($composeMessage, $imap_stream, $reply_id, $reply_ent_id, $draft_folder);
+            $success = $imap_deliver->mail($composeMessage, $imap_stream, $reply_id, $reply_ent_id, $imap_stream, $draft_folder);
             sqimap_logout($imap_stream);
             unset ($imap_deliver);
             $composeMessage->purgeAttachments();