summaryrefslogtreecommitdiff
path: root/program/steps/mail/viewsource.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-04-18 11:04:03 +0200
committerAleksander Machniak <alec@alec.pl>2014-04-18 11:04:03 +0200
commit5515dbb9707571209515643464fb6267199fb523 (patch)
tree4b2d75c1b0cc82d67e2946bfb9f2f8d234834631 /program/steps/mail/viewsource.inc
parentbf5d4ee0588a8c3fbddfaf184c6de0f9066c1a75 (diff)
Remove IE<7 specific code
Diffstat (limited to 'program/steps/mail/viewsource.inc')
-rw-r--r--program/steps/mail/viewsource.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/program/steps/mail/viewsource.inc b/program/steps/mail/viewsource.inc
index 0328d9600..f988f679a 100644
--- a/program/steps/mail/viewsource.inc
+++ b/program/steps/mail/viewsource.inc
@@ -33,9 +33,7 @@ if ($uid = rcube_utils::get_input_value('_uid', rcube_utils::INPUT_GET)) {
$filename = ($subject ? $subject : $RCMAIL->config->get('product_name', 'email')) . '.eml';
$browser = $RCMAIL->output->browser;
- if ($browser->ie && $browser->ver < 7)
- $filename = rawurlencode(abbreviate_string($filename, 55));
- else if ($browser->ie)
+ if ($browser->ie)
$filename = rawurlencode($filename);
else
$filename = addcslashes($filename, '"');