thomascube
2012-03-16 d1e3430bfa1338268315e7425d0fbab995f5e107
Pass message UID to 'message_part_get' hook

1 files modified
2 ■■■ changed files
program/steps/mail/get.inc 2 ●●● patch | view | raw | blame | history
program/steps/mail/get.inc
@@ -85,7 +85,7 @@
    // 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;