From 2a764cfd1426d47230a3083707d11572bd03d099 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 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9031 b9a71923-0436-4b27-9f14-aed3839534dd --- 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')) {