diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-02-18 22:39:43 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-03-10 21:54:38 +0100 |
commit | 6a995f2c172e4497df6683d978c7823647dcb2ed (patch) | |
tree | ed8ca494686e0eb355858ead4384a972f6209a77 /Bugzilla/CGI.pm | |
parent | 5ee20b480b45ff9c66b7de3e957f7d0b6ed19ddb (diff) | |
download | bugzilla-6a995f2c172e4497df6683d978c7823647dcb2ed.tar.gz bugzilla-6a995f2c172e4497df6683d978c7823647dcb2ed.tar.xz |
initial psgi support
Diffstat (limited to 'Bugzilla/CGI.pm')
-rw-r--r-- | Bugzilla/CGI.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 3737b97e2..05e2bd749 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -113,7 +113,7 @@ sub new { # Under mod_perl, CGI's global variables get reset on each request, # so we need to set them up again every time. - $class->_init_bz_cgi_globals() if $ENV{MOD_PERL}; + $class->_init_bz_cgi_globals() if BZ_PERSISTENT; my $self = $class->SUPER::new(@args); @@ -597,6 +597,8 @@ sub header { sub param { my $self = shift; + local $CGI::LIST_CONTEXT_WARN = 0; + # When we are just requesting the value of a parameter... if (scalar(@_) == 1) { my @result = $self->SUPER::param(@_); |