// missing parenthesis
This commit is contained in:
@@ -32,7 +32,7 @@ class AttachmentControllerCore extends FrontController
|
|||||||
if (!$a->id)
|
if (!$a->id)
|
||||||
Tools::redirect('index.php');
|
Tools::redirect('index.php');
|
||||||
|
|
||||||
Hook::exec('actionDownloadAttachment', array('attachment' => &$a);
|
Hook::exec('actionDownloadAttachment', array('attachment' => &$a));
|
||||||
|
|
||||||
if (ob_get_level() && ob_get_length() > 0)
|
if (ob_get_level() && ob_get_length() > 0)
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
|||||||
Reference in New Issue
Block a user