From: Roland Häder Date: Fri, 30 Jun 2017 20:13:13 +0000 (+0200) Subject: Also skip this X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;ds=inline;h=7c94ffde02f1c2d626f9b50d43dc454dad4a073b;p=core.git Also skip this Signed-off-by: Roland Häder --- diff --git a/framework/main/classes/class_BaseFrameworkSystem.php b/framework/main/classes/class_BaseFrameworkSystem.php index 4e517861..1ab419f5 100644 --- a/framework/main/classes/class_BaseFrameworkSystem.php +++ b/framework/main/classes/class_BaseFrameworkSystem.php @@ -1853,7 +1853,7 @@ Loaded includes: $backtrace = debug_backtrace(!DEBUG_BACKTRACE_PROVIDE_OBJECT); // Is function partialStub/__callStatic ? - if (($backtrace[1]['function'] == 'partialStub') || ($backtrace[1]['function'] == '__callStatic')) { + if (in_array($backtrace[1]['function'], array('partialStub', '__call', '__callStatic'))) { // Prepend class::function:line from 3rd element $message = sprintf('[%s::%s:%d]: %s', $backtrace[2]['class'],