--- bug_view_inc.php.original	2010-04-24 22:58:27.000000000 +0800
+++ bug_view_inc.php	2010-04-24 18:07:19.000000000 +0800
@@ -724,6 +724,12 @@
 	# Allow plugins to display stuff after notes
 	event_signal( 'EVENT_VIEW_BUG_EXTRA', array( $f_bug_id ) );
 
+	# Time Tracking stats
+	if ( config_get('time_tracking_enabled') &&
+		access_has_bug_level( config_get( 'time_tracking_reporting_threshold' ), $f_bug_id ) ) {
+		include( $t_mantis_dir . 'bugnote_stats_inc.php' );
+	}
+
 	# History
 	if ( $tpl_show_history ) {
 		include( $tpl_mantis_dir . 'history_inc.php' );
