diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-06-25 22:58:14 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-06-28 22:42:02 +0200 |
commit | f7306619d72ad393089ba210f575d3ff2859cf57 (patch) | |
tree | 50c9f6fa130a80e51a566356eb64f354dfd6a7ca | |
parent | b2693c9f5ce34c864a4323abf4c89836c263a7ea (diff) | |
download | bugzilla-f7306619d72ad393089ba210f575d3ff2859cf57.tar.gz bugzilla-f7306619d72ad393089ba210f575d3ff2859cf57.tar.xz |
fix _in_eval() logic
-rw-r--r-- | Bugzilla/Error.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Error.pm b/Bugzilla/Error.pm index 9fcd16386..42757f39c 100644 --- a/Bugzilla/Error.pm +++ b/Bugzilla/Error.pm @@ -31,7 +31,7 @@ use Scalar::Util qw(blessed); sub _in_eval { my $in_eval = 0; for (my $stack = 1; my $sub = (caller($stack))[3]; $stack++) { - last if $sub =~ /^ModPerl/; + last if $sub =~ /^Bugzilla::Quantum::CGI::try/; $in_eval = 1 if $sub =~ /^\(eval\)/; } return $in_eval; |