[*] CORE : Merge of https://github.com/PrestaShop/PrestaShop/pull/729
This commit is contained in:
@@ -32,6 +32,8 @@ class AttachmentControllerCore extends FrontController
|
|||||||
if (!$a->id)
|
if (!$a->id)
|
||||||
Tools::redirect('index.php');
|
Tools::redirect('index.php');
|
||||||
|
|
||||||
|
Hook::exec('actionDownloadAttachment', array('attachment' => &$a);
|
||||||
|
|
||||||
if (ob_get_level())
|
if (ob_get_level())
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user