projects
/
srvgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 31306: Allow to pass params and attributes to search_ordered
[srvgit]
/
errors
/
400.pl
diff --git
a/errors/400.pl
b/errors/400.pl
index
e3cfc5e
..
0bddd49
100755
(executable)
--- a/
errors/400.pl
+++ b/
errors/400.pl
@@
-38,7
+38,7
@@
$template->param (
errno => 400,
);
my $status = '400 Bad Request';
-if (
any { /(^psgi\.|^plack\.)/i } keys %ENV
) {
+if (
C4::Context->is_internal_PSGI_request()
) {
$status = '200 OK';
}
output_with_http_headers $query, $cookie, $template->output, 'html', $status;