From b294b2d647d485132d7a6cc945355e989aab0ff7 Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Fri, 9 May 2008 10:42:13 +0000 Subject: [PATCH] do not display class twice in query trace --- libraries/dbi/mysql.dbi.lib.php | 2 +- libraries/dbi/mysqli.dbi.lib.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/dbi/mysql.dbi.lib.php b/libraries/dbi/mysql.dbi.lib.php index f65596b61..b1a781a5e 100644 --- a/libraries/dbi/mysql.dbi.lib.php +++ b/libraries/dbi/mysql.dbi.lib.php @@ -156,7 +156,7 @@ function PMA_DBI_try_query($query, $link = null, $options = 0) $trace[] = PMA_Error::relPath($trace_step['file']) . '#' . $trace_step['line'] . ': ' . (isset($trace_step['class']) ? $trace_step['class'] : '') - . (isset($trace_step['object']) ? get_class($trace_step['object']) : '') + //. (isset($trace_step['object']) ? get_class($trace_step['object']) : '') . (isset($trace_step['type']) ? $trace_step['type'] : '') . (isset($trace_step['function']) ? $trace_step['function'] : '') . '(' diff --git a/libraries/dbi/mysqli.dbi.lib.php b/libraries/dbi/mysqli.dbi.lib.php index f87c4f6e0..33840bc64 100644 --- a/libraries/dbi/mysqli.dbi.lib.php +++ b/libraries/dbi/mysqli.dbi.lib.php @@ -178,7 +178,7 @@ function PMA_DBI_try_query($query, $link = null, $options = 0) $trace[] = PMA_Error::relPath($trace_step['file']) . '#' . $trace_step['line'] . ': ' . (isset($trace_step['class']) ? $trace_step['class'] : '') - . (isset($trace_step['object']) ? get_class($trace_step['object']) : '') + //. (isset($trace_step['object']) ? get_class($trace_step['object']) : '') . (isset($trace_step['type']) ? $trace_step['type'] : '') . (isset($trace_step['function']) ? $trace_step['function'] : '') . '('