summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-03-28 08:34:19 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-03-28 08:34:19 +0000
commit20c6a7ba52df133b4e9a144533c63e201a4a021d (patch)
tree1f6d596a24b5a80bf083bf8f9659e0b359ac99a2
parente5f97c694e79adbb883f3c339e642b01605fdd84 (diff)
Don't show error message when saving draft (closes #1483892)
git-svn-id: https://svn.roundcube.net/trunk@525 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/steps/mail/sendmail.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/mail/sendmail.inc b/roundcubemail/program/steps/mail/sendmail.inc
index 2c668ebd9..4a65ee390 100644
--- a/roundcubemail/program/steps/mail/sendmail.inc
+++ b/roundcubemail/program/steps/mail/sendmail.inc
@@ -138,10 +138,9 @@ $_framed = TRUE;
/****** check submission and compose message ********/
-if (empty($_POST['_to']) && empty($_POST['_subject']) && $_POST['_message'])
+if (!$savedraft && empty($_POST['_to']) && empty($_POST['_subject']) && $_POST['_message'])
{
show_message("sendingfailed", 'error');
- //rcmail_overwrite_action('compose');
rcube_iframe_response();
return;
}