Skip to content
This repository was archived by the owner on Jan 2, 2019. It is now read-only.

Commit e487f5c

Browse files
author
MarkBaker
committed
Fix for multiple worksheets, all with merge cells, in HTML Writer
1 parent fcc5c65 commit e487f5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/PHPExcel/Writer/HTML.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ public function generateSheetData()
398398
}
399399

400400
// Ensure that Spans have been calculated?
401-
if (!$this->spansAreCalculated) {
401+
if ($this->_sheetIndex !== null || !$this->spansAreCalculated) {
402402
$this->calculateSpans();
403403
}
404404

0 commit comments

Comments
 (0)