summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-07-28 08:44:42 +0000
committeralecpl <alec@alec.pl>2009-07-28 08:44:42 +0000
commitdaa3f720bc54ad352af35ec015896c9830704c3f (patch)
treecb1c4b0d68f5d8eaad89d81a1c853664106b6386 /program/steps
parent2337a82f72f6404d011453903bec8d53ae3580de (diff)
- revert unwanted commit
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/func.inc5
1 files changed, 1 insertions, 4 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 5cf0f7664..9928cb150 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -428,10 +428,7 @@ function rcmail_js_message_list($a_headers, $insert_top=FALSE, $replace=TRUE)
{
$action = $mbox==$CONFIG['drafts_mbox'] ? 'compose' : 'show';
$uid_param = $mbox==$CONFIG['drafts_mbox'] ? '_draft_uid' : '_uid';
- $cont = trim($IMAP->decode_header($header->$col));
- if ($browser->ie)
- $cont = rc_utf8_clean($cont);
- $cont = abbreviate_string($cont, 160);
+ $cont = abbreviate_string(trim($IMAP->decode_header($header->$col)), 160);
if (!$cont) $cont = rcube_label('nosubject');
$cont = $browser->ie ? Q($cont) : sprintf('<a href="%s" onclick="return rcube_event.cancel(event)">%s</a>', Q(rcmail_url($action, array($uid_param=>$header->uid, '_mbox'=>$mbox))), Q($cont));
}