From: Tim Starling Date: Mon, 3 Jul 2006 13:55:52 +0000 (+0000) Subject: fixed raw suffix X-Git-Tag: 1.31.0-rc.0~56438 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=cd1e5bab85d1b97a3491a9ab31ee5e52ed529bde;p=lhc%2Fweb%2Fwiklou.git fixed raw suffix --- diff --git a/includes/CoreParserFunctions.php b/includes/CoreParserFunctions.php index 45202a477f..d6578abf30 100644 --- a/includes/CoreParserFunctions.php +++ b/includes/CoreParserFunctions.php @@ -117,10 +117,10 @@ class CoreParserFunctions { function statisticsFunction( $func, $raw = null ) { if ( self::isRaw( $raw ) ) { + return call_user_func( $func ); + } else { global $wgContLang; return $wgContLang->formatNum( call_user_func( $func ) ); - } else { - return call_user_func( $func ); } }