diff options
author | Eric Wong <e@80x24.org> | 2016-07-02 07:56:36 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-07-02 07:57:28 +0000 |
commit | 4d02ed7d60ecff963d3026187a0357e359fd2981 (patch) | |
tree | cbb0a75b7c5675da99ee3820577cdecd8a8ffe98 /lib/PublicInbox/SearchView.pm | |
parent | 2d5348c139e9a04d0576fffb0bd5d6c7750fa765 (diff) | |
download | public-inbox-4d02ed7d60ecff963d3026187a0357e359fd2981.tar.gz |
More work on on the Plack::Request/CGI.pm removal front, No need to access the PSGI env through an extra hash lookup.
Diffstat (limited to 'lib/PublicInbox/SearchView.pm')
-rw-r--r-- | lib/PublicInbox/SearchView.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm index ce1eff1e..15bb8232 100644 --- a/lib/PublicInbox/SearchView.pm +++ b/lib/PublicInbox/SearchView.pm @@ -86,7 +86,7 @@ sub mset_summary { sub err_txt { my ($ctx, $err) = @_; my $u = '//xapian.org/docs/queryparser.html'; - $u = PublicInbox::Hval::prurl($ctx->{cgi}->{env}, $u); + $u = PublicInbox::Hval::prurl($ctx->{env}, $u); $err =~ s/^\s*Exception:\s*//; # bad word to show users :P $err = ascii_html($err); "\nBad query: <b>$err</b>\n" . |