From 4097523205bf7132b2fdcba382cfa4e8c1d2e433 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 27 Aug 2004 13:42:09 +0000 Subject: [PATCH] Fixed notice due to main-cleanup being entered at level 0 --- includes/Profiling.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Profiling.php b/includes/Profiling.php index a07adac877..6a59152eec 100755 --- a/includes/Profiling.php +++ b/includes/Profiling.php @@ -58,7 +58,7 @@ class Profiler global $wgDebugProfiling, $wgDebugFunctionEntry; if ( $wgDebugFunctionEntry && function_exists( 'wfDebug' ) ) { - wfDebug( str_repeat( ' ', count( $this->mWorkStack ) - 1 ) . 'Exiting '.$functionname."\n" ); + wfDebug( str_repeat( ' ', count( $this->mWorkStack ) ) . 'Exiting '.$functionname."\n" ); } $bit = array_pop( $this->mWorkStack ); -- 2.20.1