From ce7f45119605a9a846a6ad3b11cdc1cbcc389ed2 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 13 Apr 2018 20:09:12 +0000 Subject: [PATCH] Don't show multiple calls from the "dba" class to show the essential parts of the callstack --- src/Core/System.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/System.php b/src/Core/System.php index 9d360dff0c..1db417eb88 100644 --- a/src/Core/System.php +++ b/src/Core/System.php @@ -64,8 +64,8 @@ class System extends BaseObject while ($func = array_pop($trace)) { if (!empty($func['class'])) { - // Don't show multiple calls from the same function (mostly used for "dba" class) - if (($previous['class'] != $func['class']) && ($previous['function'] != 'q')) { + // Don't show multiple calls from the "dba" class to show the essential parts of the callstack + if ((($previous['class'] != $func['class']) || ($func['class'] != 'dba')) && ($previous['function'] != 'q')) { $classparts = explode("\\", $func['class']); $callstack[] = array_pop($classparts).'::'.$func['function']; $previous = $func; -- 2.39.5