From 3871ea32a48f581a05740dbf318eb94f839b99fa Mon Sep 17 00:00:00 2001 From: gRoussac Date: Fri, 29 Nov 2013 17:48:52 +0100 Subject: [PATCH] // missing parenthesis --- controllers/front/AttachmentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();