diff --git a/controllers/front/AttachmentController.php b/controllers/front/AttachmentController.php index 3c5daedda..8461be1f5 100644 --- a/controllers/front/AttachmentController.php +++ b/controllers/front/AttachmentController.php @@ -32,6 +32,8 @@ class AttachmentControllerCore extends FrontController if (!$a->id) Tools::redirect('index.php'); + Hook::exec('actionDownloadAttachment', array('attachment' => &$a); + if (ob_get_level()) ob_end_clean();