From 5b009cf2e8e47dd7630b57f2366f636f7cdfe592 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sun, 6 Jan 2008 05:25:30 +0000 Subject: [PATCH] Fix missing return value for deliverMessage(). Thanks to Thierry Godefroy git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12874 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compose.php b/src/compose.php index 052f9a71..297cccd2 100644 --- a/src/compose.php +++ b/src/compose.php @@ -1594,7 +1594,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(); - $imap_deliver->mail($composeMessage, $imap_stream, $reply_id, $reply_ent_id, $draft_folder); + $length = $imap_deliver->mail($composeMessage, $imap_stream, $reply_id, $reply_ent_id, $draft_folder); sqimap_logout($imap_stream); unset ($imap_deliver); $composeMessage->purgeAttachments(); -- 2.25.1