diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-03-16 20:23:53 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-03-16 20:23:53 +0000 |
| commit | 2f96d25b784db0c53e3b48b0321c73a45bb9347b (patch) | |
| tree | defd84fba0f5a1bbd04c04e8309b797e76c0f152 | |
| parent | 8d8d6f33c06c26984d427ae406c075bdddc8178c (diff) | |
Pass message UID to 'message_part_get' hook
git-svn-id: https://svn.roundcube.net/trunk@6021 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/steps/mail/get.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/get.inc b/roundcubemail/program/steps/mail/get.inc index e8e2c1cb3..924433df3 100644 --- a/roundcubemail/program/steps/mail/get.inc +++ b/roundcubemail/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; |
