do not display class twice in query trace

This commit is contained in:
Sebastian Mendel
2008-05-09 10:42:13 +00:00
parent fa21fe3ea5
commit b294b2d647
2 changed files with 2 additions and 2 deletions

View File

@@ -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'] : '')
. '('

View File

@@ -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'] : '')
. '('