From 0b78e570ec38c1e6d43d874368fce51f3ae287d7 Mon Sep 17 00:00:00 2001 From: rMalie Date: Tue, 4 Oct 2011 16:10:05 +0000 Subject: [PATCH] // Fix downloadable files in admin --- controllers/front/GetFileController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/front/GetFileController.php b/controllers/front/GetFileController.php index 63dabdbe7..f06a78a18 100644 --- a/controllers/front/GetFileController.php +++ b/controllers/front/GetFileController.php @@ -30,7 +30,7 @@ class GetFileControllerCore extends FrontController protected $display_header = false; protected $display_footer = false; - public function postProcess() + public function init() { if (isset($this->context->employee) && $this->context->employee->isLoggedBack() && Tools::getValue('file')) {