diff options
author | alecpl <alec@alec.pl> | 2010-05-23 08:01:46 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-05-23 08:01:46 +0000 |
commit | ae00404a609b4f7bb7942b298802547c97cf803a (patch) | |
tree | daf5105212c0bb0c6b46174418ac37714f5de1b6 /program/steps/mail/sendmail.inc | |
parent | 5183767cb0cb7b3d7bb0b317eb8af52854cc01a6 (diff) |
- translate internalerror message
Diffstat (limited to 'program/steps/mail/sendmail.inc')
-rw-r--r-- | program/steps/mail/sendmail.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index dedab99fa..d6143d82b 100644 --- a/program/steps/mail/sendmail.inc +++ b/program/steps/mail/sendmail.inc @@ -29,11 +29,11 @@ $savedraft = !empty($_POST['_draft']) ? TRUE : FALSE; /****** checks ********/ if (!isset($_SESSION['compose']['id'])) { - raise_error(array('code' => 500, 'type' => 'smtp', + raise_error(array('code' => 500, 'type' => 'php', 'file' => __FILE__, 'line' => __LINE__, 'message' => "Invalid compose ID"), true, false); - $OUTPUT->show_message("An internal error occured. Please try again.", 'error'); + $OUTPUT->show_message('internalerror', 'error'); $OUTPUT->send('iframe'); } |