summaryrefslogtreecommitdiff
path: root/program/steps/mail/get.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-03-16 20:23:53 +0000
committerthomascube <thomas@roundcube.net>2012-03-16 20:23:53 +0000
commitd1e3430bfa1338268315e7425d0fbab995f5e107 (patch)
tree18a5f8838473b8239b59108c803b82bcc3f76e64 /program/steps/mail/get.inc
parentf302fb9337fa35d413e3292da095a338433f50e2 (diff)
Pass message UID to 'message_part_get' hook
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 e8e2c1cb3..924433df3 100644
--- a/program/steps/mail/get.inc
+++ b/program/steps/mail/get.inc
@@ -85,7 +85,7 @@ else if (strlen($pid = get_input_value('_part', RCUBE_INPUT_GET))) {
// allow post-processing of the message body
$plugin = $RCMAIL->plugins->exec_hook('message_part_get',
- array('id' => $part->mime_id, 'mimetype' => $mimetype, 'part' => $part, 'download' => !empty($_GET['_download'])));
+ array('uid' => $MESSAGE->uid, 'id' => $part->mime_id, 'mimetype' => $mimetype, 'part' => $part, 'download' => !empty($_GET['_download'])));
if ($plugin['abort'])
exit;