r46942 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46941‎ | r46942 | r46943 >
Date:21:18, 6 February 2009
Author:werdna
Status:ok
Tags:
Comment:
Fix glaring fatal.
Modified paths:
  • /trunk/extensions/ParserFunctions/Expr.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ParserFunctions/Expr.php
@@ -186,7 +186,7 @@
187187 */
188188 function checkInteger( $expr ) {
189189 $intval = round($expr);
190 - if( toleranceComparison( $expr, $intval ) == 0 ) {
 190+ if( $this->toleranceComparison( $expr, $intval ) == 0 ) {
191191 return $intval;
192192 } else {
193193 return $expr;

Status & tagging log