diff options
author | alecpl <alec@alec.pl> | 2009-07-23 12:12:27 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-07-23 12:12:27 +0000 |
commit | ee258ce15870e6cb4b733087368a062b5fd66b52 (patch) | |
tree | 9b52d654f3abdbcba90db483a7970c5d9c308b44 /program/steps/mail/show.inc | |
parent | a01b3bf9aee82b142724eb769a40a4d6df5d9e26 (diff) |
- performance fix: don't check mbstring functions existence too often
Diffstat (limited to 'program/steps/mail/show.inc')
-rw-r--r-- | program/steps/mail/show.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc index ffd569d21..068ccbcd7 100644 --- a/program/steps/mail/show.inc +++ b/program/steps/mail/show.inc @@ -162,7 +162,7 @@ function rcmail_message_attachments($attrib) $ol .= html::tag('li', null, sprintf("%s (%s)", Q($attach_prop->filename), Q(show_bytes($attach_prop->size)))); } else { - if (rc_strlen($attach_prop->filename) > 50) { + if (mb_strlen($attach_prop->filename) > 50) { $filename = abbreviate_string($attach_prop->filename, 50); $title = $attach_prop->filename; } |