From: Aaron Schulz Date: Fri, 2 May 2008 20:22:10 +0000 (+0000) Subject: Suppress div/0 error X-Git-Tag: 1.31.0-rc.0~47943 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=b516f1db6c04a2138d3bb91fec83f58259f9af1f;p=lhc%2Fweb%2Fwiklou.git Suppress div/0 error --- 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";