Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/download_5'
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoor committed Dec 5, 2013
2 parents 7d43f2f + 88d835d commit e9b8e8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions class/displayManager.Class.php
Original file line number Diff line number Diff line change
Expand Up @@ -861,14 +861,14 @@ public function download_statement($data){
}else{
/* else only currently logged in user statement is available */
$this->secure('self');
if (!$this->user->statement_downloaded){
if ($this->user->statement_downloaded!=1){
$this->user->getStatementFileContents();
}else{
HTTP::redirect('/');
}
}
}catch (FileException $e){
echo $e->getMessage();
echo ($e->getMessage());
die();
}
}
Expand Down

0 comments on commit e9b8e8a

Please sign in to comment.