diff options
author | thomascube <thomas@roundcube.net> | 2012-03-16 20:23:53 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2012-03-16 20:23:53 +0000 |
commit | d1e3430bfa1338268315e7425d0fbab995f5e107 (patch) | |
tree | 18a5f8838473b8239b59108c803b82bcc3f76e64 | |
parent | f302fb9337fa35d413e3292da095a338433f50e2 (diff) |
Pass message UID to 'message_part_get' hook
-rw-r--r-- | program/steps/mail/get.inc | 2 |
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; |