From 07afcfd8405841bdc9009b94e0d5e963a0848615 Mon Sep 17 00:00:00 2001 From: Christian Paminger Date: Wed, 12 Sep 2007 13:32:42 +0000 Subject: [PATCH] --- include/Excel/Worksheet.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/Excel/Worksheet.php b/include/Excel/Worksheet.php index b8667ba84..e92a2beed 100644 --- a/include/Excel/Worksheet.php +++ b/include/Excel/Worksheet.php @@ -1684,7 +1684,9 @@ class Spreadsheet_Excel_Writer_Worksheet extends Spreadsheet_Excel_Writer_BIFFwr function writeBlank($row, $col, $format) { // Don't write a blank cell unless it has a format - if ($format == 0) { + //if ($format == 0) + if (is_null($format)) + { return(0); }