From 6959e71bec10f177e16055582bd2f381f32d2786 Mon Sep 17 00:00:00 2001 From: gRoussac Date: Wed, 27 Nov 2013 00:09:41 +0100 Subject: [PATCH] [*] CORE : Merge of https://github.com/PrestaShop/PrestaShop/pull/729 --- controllers/front/AttachmentController.php | 2 ++ 1 file changed, 2 insertions(+) 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();