summaryrefslogtreecommitdiff
path: root/program/steps/mail/sendmail.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-05-23 08:01:46 +0000
committeralecpl <alec@alec.pl>2010-05-23 08:01:46 +0000
commitae00404a609b4f7bb7942b298802547c97cf803a (patch)
treedaf5105212c0bb0c6b46174418ac37714f5de1b6 /program/steps/mail/sendmail.inc
parent5183767cb0cb7b3d7bb0b317eb8af52854cc01a6 (diff)
- translate internalerror message
Diffstat (limited to 'program/steps/mail/sendmail.inc')
-rw-r--r--program/steps/mail/sendmail.inc4
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');
}