diff --git a/forum/Sources/Subs.php b/forum/Sources/Subs.php index 317d062..7ebdaa6 100644 --- a/forum/Sources/Subs.php +++ b/forum/Sources/Subs.php @@ -218,7 +218,7 @@ function db_query($db_string, $file, $line) global $db_cache, $db_count, $db_connection, $modSettings; $trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS,2); - $timer = pinba_timer_start(array("component" => 'db_query', 'file' => $trace[1]['function'], 'file' => $file)); + $timer = pinba_timer_start(array("component" => 'db_query', 'function' => $trace[1]['function'], 'file' => $file)); // One more query.... $db_count = !isset($db_count) ? 1 : $db_count + 1;