From: Tim Starling Date: Fri, 27 Aug 2004 13:42:09 +0000 (+0000) Subject: Fixed notice due to main-cleanup being entered at level 0 X-Git-Tag: 1.5.0alpha1~2223 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=4097523205bf7132b2fdcba382cfa4e8c1d2e433;p=lhc%2Fweb%2Fwiklou.git Fixed notice due to main-cleanup being entered at level 0 --- 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 );