summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/show.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc
index 3d42de61a..382733f5e 100644
--- a/program/steps/mail/show.inc
+++ b/program/steps/mail/show.inc
@@ -41,7 +41,7 @@ if ($uid = get_input_value('_uid', RCUBE_INPUT_GET)) {
if (!empty($MESSAGE->headers->charset))
$IMAP->set_charset($MESSAGE->headers->charset);
- $OUTPUT->set_pagetitle($MESSAGE->subject);
+ $OUTPUT->set_pagetitle(abbreviate_string($MESSAGE->subject, 128, '...', true));
// give message uid to the client
$OUTPUT->set_env('uid', $MESSAGE->uid);