From: Alexandre Emsenhuber Date: Fri, 26 Feb 2010 09:04:14 +0000 (+0000) Subject: Fix for r63000: remove the "!" in the check X-Git-Tag: 1.31.0-rc.0~37596 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=e97c055e7450585c0a7299f129a1d26e2686edcc;p=lhc%2Fweb%2Fwiklou.git Fix for r63000: remove the "!" in the check --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 5d339fcd12..2c24af0465 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -496,7 +496,7 @@ function wfLogProfilingData() { global $wgRequestTime, $wgDebugLogFile, $wgDebugRawPage, $wgRequest; global $wgProfiler, $wgProfileLimit, $wgUser; # Profiling must actually be enabled... - if( !is_null( $wgProfiler ) ) return; + if( is_null( $wgProfiler ) ) return; # Get total page request time $now = wfTime(); $elapsed = $now - $wgRequestTime;