diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-06 17:16:14 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-06 17:16:14 +0000 |
| commit | 2e6b406767327e8a30405ce44971680632d744a2 (patch) | |
| tree | 75f66aec32cafa5439ad367a9a86b02ec2353de4 /roundcubemail/program/steps | |
| parent | 7e11fee1f6c912c47b376c24ad2362d33b8915cb (diff) | |
Log error when submitting an invalid compose ID
git-svn-id: https://svn.roundcube.net/trunk@1754 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
| -rw-r--r-- | roundcubemail/program/steps/mail/sendmail.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/sendmail.inc b/roundcubemail/program/steps/mail/sendmail.inc index 7d872abc7..9a79317bc 100644 --- a/roundcubemail/program/steps/mail/sendmail.inc +++ b/roundcubemail/program/steps/mail/sendmail.inc @@ -23,7 +23,8 @@ if (!isset($_SESSION['compose']['id'])) { - rcmail_overwrite_action('list'); + raise_error(array('code' => 500, 'file' => __FILE__, 'message' => "Invalid compose ID"), true, false); + rcmail_overwrite_action('compose'); return; } |
