summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Quantum/Plugin
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-05-19 06:34:01 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:41:55 +0200
commit10918f3336863623020a6d73e63a0f0a5eebb306 (patch)
treea496e36a1f149e193a4ceed41531034a6b2ae888 /Bugzilla/Quantum/Plugin
parent215f1021948b63cad29094e7847b52c256ec9974 (diff)
downloadbugzilla-10918f3336863623020a6d73e63a0f0a5eebb306.tar.gz
bugzilla-10918f3336863623020a6d73e63a0f0a5eebb306.tar.xz
mojo all the things
Diffstat (limited to 'Bugzilla/Quantum/Plugin')
-rw-r--r--Bugzilla/Quantum/Plugin/Glue.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Quantum/Plugin/Glue.pm b/Bugzilla/Quantum/Plugin/Glue.pm
index d689f598a..6c20d87f7 100644
--- a/Bugzilla/Quantum/Plugin/Glue.pm
+++ b/Bugzilla/Quantum/Plugin/Glue.pm
@@ -47,12 +47,13 @@ sub register {
my ($next, $c) = @_;
try {
local %{ Bugzilla->request_cache } = ();
+ local $CGI::Compile::USE_REAL_EXIT = 0;
Bugzilla->usage_mode(USAGE_MODE_QUANTUM);
Bugzilla->cgi( Bugzilla::Quantum::CGI->new(controller => $c) );
Bugzilla->template( Bugzilla::Quantum::Template->new( controller => $c, template => $template ) );
$next->();
} catch {
- die $_ unless /\bModPerl::Util::exit\b/;
+ die $_ unless ref $_ eq 'ARRAY' && $_->[0] eq "EXIT\n" || /\bModPerl::Util::exit\b/;
};
}
);