From: Moritz Bunkus Date: Thu, 6 Jun 2013 07:01:15 +0000 (+0200) Subject: END_OF_REQUEST-Exception auch bei eingeschaltetem "backtrace on die" erkennen X-Git-Tag: release-3.1.0beta1~359 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=620cb63ec17f745911e30407c28b3bb630c76379;p=kivitendo-erp.git END_OF_REQUEST-Exception auch bei eingeschaltetem "backtrace on die" erkennen --- diff --git a/SL/Dispatcher.pm b/SL/Dispatcher.pm index a52e4bd4b..01b6aff2e 100644 --- a/SL/Dispatcher.pm +++ b/SL/Dispatcher.pm @@ -286,7 +286,7 @@ sub handle_request { 1; } or do { - if ($EVAL_ERROR ne END_OF_REQUEST) { + if (substr($EVAL_ERROR, 0, length(END_OF_REQUEST())) ne END_OF_REQUEST()) { my $error = $EVAL_ERROR; print STDERR $error;