Skip to content

Commit

Permalink
Fix reversed company and dbversion on 500 Error page
Browse files Browse the repository at this point in the history
The 500 Error response page displays the company name and database
version in its footer, but those values were transposed. Fixed by
this patch.
  • Loading branch information
nick-prater committed Feb 2, 2020
1 parent 28e184e commit d9e2bcb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/LedgerSMB/PSGI.pm
Expand Up @@ -133,8 +133,11 @@ sub psgi_app {
level => 'error',
message => $error });
$res = LedgerSMB::PSGI::Util::internal_server_error(
$error, 'Error!',
$request->{dbversion}, $request->{company});
$error,
'Error!',
$request->{company},
$request->{dbversion},
);
}
else {
$res = [ '500', [ 'Content-Type' => 'text/plain' ], [ $error ]];
Expand Down

0 comments on commit d9e2bcb

Please sign in to comment.