From 090046b9b54c27239c742b019e3296ed51828221 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Fri, 22 Jun 2018 00:13:25 -0400 Subject: use an explicit check for the _handle stuff --- Bugzilla/Error.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bugzilla/Error.pm') diff --git a/Bugzilla/Error.pm b/Bugzilla/Error.pm index cf3688292..ad195f02f 100644 --- a/Bugzilla/Error.pm +++ b/Bugzilla/Error.pm @@ -124,9 +124,9 @@ sub _throw_error { message => $message, id => $server->{_bz_request_id}, version => $server->version); - # if _bz_request_id is set, we're inside the _handle() function + # if _bz_will_handle_error is set, we're inside the _handle() function # and we don't need to call $server->response. - unless ($server->{_bz_request_id}) { + unless ($server->{_bz_will_handle_error}) { $server->response($server->error_response_header); } } -- cgit v1.2.3-24-g4f1b