summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-03-28 08:34:19 +0000
committerthomascube <thomas@roundcube.net>2007-03-28 08:34:19 +0000
commitdc096918d85274b934a029a23cbc594c790f3e19 (patch)
treef10c1871c43a6fd1ba65662beb1373b297f594d7 /program
parent0c219c78692561ce53108dc1800061f8b783898a (diff)
Don't show error message when saving draft (closes #1483892)
Diffstat (limited to 'program')
-rw-r--r--program/steps/mail/sendmail.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc
index 2c668ebd9..4a65ee390 100644
--- a/program/steps/mail/sendmail.inc
+++ b/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;
}