From 20c6a7ba52df133b4e9a144533c63e201a4a021d Mon Sep 17 00:00:00 2001 From: thomasb Date: Wed, 28 Mar 2007 08:34:19 +0000 Subject: Don't show error message when saving draft (closes #1483892) git-svn-id: https://svn.roundcube.net/trunk@525 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/sendmail.inc | 3 +-- 1 file changed, 1 insertion(+), 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; } -- cgit v1.2.3