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

This commit is contained in:
MarkBaker
2016-07-14 23:09:19 +01:00
parent 962a822cf9
commit 2291748a83
+1 -1
View File
@@ -405,7 +405,7 @@ class HTML extends BaseWriter implements IWriter
}
// Ensure that Spans have been calculated?
if (!$this->spansAreCalculated) {
if ($this->sheetIndex !== null || !$this->spansAreCalculated) {
$this->calculateSpans();
}