diff options
author | svncommit <devs@roundcube.net> | 2009-01-05 10:13:08 +0000 |
---|---|---|
committer | svncommit <devs@roundcube.net> | 2009-01-05 10:13:08 +0000 |
commit | 6710a636170c73162560c94629656ddde85c7fa8 (patch) | |
tree | 62dbe6c601ce1edc7367e54186e839a38f44d1b1 /program/steps/mail | |
parent | fa2bfdc0d5b3c2a4bb2e131616b420c3e155bd76 (diff) |
Add required parameters to raise_error() calls.
Diffstat (limited to 'program/steps/mail')
-rw-r--r-- | program/steps/mail/sendmail.inc | 2 | ||||
-rw-r--r-- | program/steps/mail/spell_pspell.inc | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index 8e8d13919..b065c2a25 100644 --- a/program/steps/mail/sendmail.inc +++ b/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'); diff --git a/program/steps/mail/spell_pspell.inc b/program/steps/mail/spell_pspell.inc index bf696f2fe..4a829ac48 100644 --- a/program/steps/mail/spell_pspell.inc +++ b/program/steps/mail/spell_pspell.inc @@ -22,6 +22,7 @@ if (!extension_loaded('pspell')) { raise_error(array( 'code' => 500, + 'type' => 'php', 'file' => __FILE__, 'message' => "Pspell extension not available"), true, false); |