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')) {