diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-05-23 08:01:46 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-05-23 08:01:46 +0000 |
| commit | 1adef0521562c283bcdd2fb641914fd3a6792a4c (patch) | |
| tree | 58f41cdf6fa481db4ee9e763228cfcdca5044381 /roundcubemail/program/steps/mail/sendmail.inc | |
| parent | 2c4201e398d08a87ac0f41dc211cb441f24e3195 (diff) | |
- translate internalerror message
git-svn-id: https://svn.roundcube.net/trunk@3655 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/sendmail.inc')
| -rw-r--r-- | roundcubemail/program/steps/mail/sendmail.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/mail/sendmail.inc b/roundcubemail/program/steps/mail/sendmail.inc index dedab99fa..d6143d82b 100644 --- a/roundcubemail/program/steps/mail/sendmail.inc +++ b/roundcubemail/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'); } |
