diff options
author | David Lawrence <dkl@mozilla.com> | 2016-01-20 22:53:45 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2016-01-20 22:53:45 +0100 |
commit | 871de5e2dbb48867b08371ce90881d8f85b18ff1 (patch) | |
tree | 2b64ab069624a7c9a24ad6b92e71c360a4905d88 /email_in.pl | |
parent | 864d9b8f7988fa8e1f069c96956573fc67ebccfa (diff) | |
download | bugzilla-871de5e2dbb48867b08371ce90881d8f85b18ff1.tar.gz bugzilla-871de5e2dbb48867b08371ce90881d8f85b18ff1.tar.xz |
Bug 1240029 - The REST API doesn't work correctly with mod_perl
r=dylan
Diffstat (limited to 'email_in.pl')
-rwxr-xr-x | email_in.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/email_in.pl b/email_in.pl index 448d75d0e..6d81e00dc 100755 --- a/email_in.pl +++ b/email_in.pl @@ -466,7 +466,7 @@ sub die_handler { # If this is inside an eval, then we should just act like...we're # in an eval (instead of printing the error and exiting). - die @_ if ($^S // Bugzilla::Error::_in_eval()); + die @_ if ($^S // Bugzilla->request_cache->{in_eval}); # We can't depend on the MTA to send an error message, so we have # to generate one properly. |