Skip to content

Commit

Permalink
// Fix downloadable files in admin
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelMalie committed Oct 4, 2011
1 parent e47380c commit 0b78e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/front/GetFileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
{
Expand Down

0 comments on commit 0b78e57

Please sign in to comment.