Fix for multiple worksheets, all with merge cells, in HTML Writer

This commit is contained in:
MarkBaker 2016-07-14 23:05:28 +01:00
parent fcc5c65855
commit e487f5c11a

View File

@ -398,7 +398,7 @@ class PHPExcel_Writer_HTML extends PHPExcel_Writer_Abstract implements PHPExcel_
} }
// Ensure that Spans have been calculated? // Ensure that Spans have been calculated?
if (!$this->spansAreCalculated) { if ($this->_sheetIndex !== null || !$this->spansAreCalculated) {
$this->calculateSpans(); $this->calculateSpans();
} }