summaryrefslogtreecommitdiff
path: root/program/steps/mail/get.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-09-21 08:24:52 +0000
committeralecpl <alec@alec.pl>2010-09-21 08:24:52 +0000
commit799359457f89646efa502a08e66cd9875a010178 (patch)
treeb1c452dff2e44ab4f796ce358309250011b1d733 /program/steps/mail/get.inc
parentd560e78d98b291efd8db777e944bf57bb1b577e8 (diff)
- Don't create a new rcube_browser object, use browser property from output object
Diffstat (limited to 'program/steps/mail/get.inc')
-rw-r--r--program/steps/mail/get.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/get.inc b/program/steps/mail/get.inc
index 5e4414059..07af7559d 100644
--- a/program/steps/mail/get.inc
+++ b/program/steps/mail/get.inc
@@ -79,7 +79,7 @@ else if ($pid = get_input_value('_part', RCUBE_INPUT_GET)) {
$ctype_secondary = strtolower($part->ctype_secondary);
$mimetype = sprintf('%s/%s', $ctype_primary, $ctype_secondary);
- $browser = new rcube_browser;
+ $browser = $RCMAIL->output->browser;
// send download headers
if ($_GET['_download']) {