From b516f1db6c04a2138d3bb91fec83f58259f9af1f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 2 May 2008 20:22:10 +0000 Subject: [PATCH] Suppress div/0 error --- includes/SpecialStatistics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialStatistics.php b/includes/SpecialStatistics.php index 28d658ba49..76f26a401e 100644 --- a/includes/SpecialStatistics.php +++ b/includes/SpecialStatistics.php @@ -49,7 +49,7 @@ function wfSpecialStatistics( $par = '' ) { $wgLang->formatNum( $users ), $wgLang->formatNum( $admins ), '[[' . wfMsgForContent( 'grouppage-sysop' ) . ']]', # TODO somehow remove, kept for backwards compatibility - $wgLang->formatNum( sprintf( '%.2f', $admins / $users * 100 ) ), + $wgLang->formatNum( @sprintf( '%.2f', $admins / $users * 100 ) ), User::makeGroupLinkWiki( 'sysop' ) )."\n"; -- 2.20.1