From b41407743e0c85aa76aa4d8f9a180c007994da9a Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Wed, 8 Feb 2012 22:33:31 +0000 Subject: [PATCH] Whoopsee... managed to introduce a bug when changing is_null() to === NULL for performance reasons, and reversed the logic of the test..... this is the fix git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86204 2327b42d-5241-43d6-9e2a-de5ac946f064 --- Classes/PHPExcel/Calculation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/PHPExcel/Calculation.php b/Classes/PHPExcel/Calculation.php index 8debb32..791cad7 100644 --- a/Classes/PHPExcel/Calculation.php +++ b/Classes/PHPExcel/Calculation.php @@ -3222,7 +3222,7 @@ class PHPExcel_Calculation { } } else { // echo 'Reference is a single Cell
'; - if ($pCell !== NULL) { + if ($pCell === NULL) { // We can't access the cell, so return a REF error $cellValue = PHPExcel_Calculation_Functions::REF(); } else {