diff --git a/controllers/front/AttachmentController.php b/controllers/front/AttachmentController.php index 4244441eb..5163e5792 100644 --- a/controllers/front/AttachmentController.php +++ b/controllers/front/AttachmentController.php @@ -32,7 +32,7 @@ class AttachmentControllerCore extends FrontController if (!$a->id) Tools::redirect('index.php'); - Hook::exec('actionDownloadAttachment', array('attachment' => &$a); + Hook::exec('actionDownloadAttachment', array('attachment' => &$a)); if (ob_get_level() && ob_get_length() > 0) ob_end_clean();