From cd1e5bab85d1b97a3491a9ab31ee5e52ed529bde Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Mon, 3 Jul 2006 13:55:52 +0000 Subject: [PATCH] fixed raw suffix --- includes/CoreParserFunctions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } } -- 2.20.1