ParserFunctions: Fix undefined variable warnings introduced in r47205

This commit is contained in:
Roan Kattouw 2009-02-16 10:08:31 +00:00
parent e2eb7eb6e3
commit 3c6bd5a6ec

View file

@ -455,7 +455,7 @@ class ExprParser {
$left = array_pop( $stack );
// Fix handling of 0.0, 0.00, etc
if ($hasBC) {
if ($haveBC) {
$right = bccompWithTolerance( $right, '0' ) != 0;
$left = bccompWithTolerance( $left, '0' ) != 0;
}
@ -467,7 +467,7 @@ class ExprParser {
$right = array_pop( $stack );
$left = array_pop( $stack );
// Fix handling of 0.0, 0.00, etc
if ($hasBC) {
if ($haveBC) {
$right = bccompWithTolerance( $right, '0' ) != 0;
$left = bccompWithTolerance( $left, '0' ) != 0;
}