Index: trunk/extensions/ParserFunctions/Expr.php |
— | — | @@ -455,7 +455,7 @@ |
456 | 456 | $left = array_pop( $stack ); |
457 | 457 | |
458 | 458 | // Fix handling of 0.0, 0.00, etc |
459 | | - if ($hasBC) { |
| 459 | + if ($haveBC) { |
460 | 460 | $right = bccompWithTolerance( $right, '0' ) != 0; |
461 | 461 | $left = bccompWithTolerance( $left, '0' ) != 0; |
462 | 462 | } |
— | — | @@ -467,7 +467,7 @@ |
468 | 468 | $right = array_pop( $stack ); |
469 | 469 | $left = array_pop( $stack ); |
470 | 470 | // Fix handling of 0.0, 0.00, etc |
471 | | - if ($hasBC) { |
| 471 | + if ($haveBC) { |
472 | 472 | $right = bccompWithTolerance( $right, '0' ) != 0; |
473 | 473 | $left = bccompWithTolerance( $left, '0' ) != 0; |
474 | 474 | } |