diff options
| author | robin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-01-05 10:13:08 +0000 |
|---|---|---|
| committer | robin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-01-05 10:13:08 +0000 |
| commit | 5feb8309413d95e0bb4011b152a3fb080f3f8a48 (patch) | |
| tree | fdb8581ec93651dceca758470d5e864d15fde8f3 /roundcubemail/program/steps/mail/sendmail.inc | |
| parent | 4ef4dc8295accb9dc2ca2cad5dc76102e3b14d60 (diff) | |
Add required parameters to raise_error() calls.
git-svn-id: https://svn.roundcube.net/trunk@2213 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/sendmail.inc')
| -rw-r--r-- | roundcubemail/program/steps/mail/sendmail.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/sendmail.inc b/roundcubemail/program/steps/mail/sendmail.inc index 8e8d13919..b065c2a25 100644 --- a/roundcubemail/program/steps/mail/sendmail.inc +++ b/roundcubemail/program/steps/mail/sendmail.inc @@ -30,7 +30,7 @@ $savedraft = !empty($_POST['_draft']) ? TRUE : FALSE; /****** checks ********/ if (!isset($_SESSION['compose']['id'])) { - raise_error(array('code' => 500, 'file' => __FILE__, 'message' => "Invalid compose ID"), true, false); + raise_error(array('code' => 500, 'type' => 'smtp', 'file' => __FILE__, 'message' => "Invalid compose ID"), true, false); console("Sendmail error", $_SESSION['compose']); $OUTPUT->show_message("An internal error occured. Please try again.", 'error'); $OUTPUT->send('iframe'); |
