modifs.mineures sans commentaires
This commit is contained in:
parent
b23708c106
commit
bc527bfe7a
|
@ -50,9 +50,11 @@ class SsBuilder extends AbstractBuilder {
|
||||||
}
|
}
|
||||||
if ($ws === null) {
|
if ($ws === null) {
|
||||||
$ws = $ss->createSheet()->setTitle($wsname);
|
$ws = $ss->createSheet()->setTitle($wsname);
|
||||||
|
$this->wroteHeaders = false;
|
||||||
} else {
|
} else {
|
||||||
$maxRow = wsutils::compute_max_coords($ws)[1];
|
$maxRow = wsutils::compute_max_coords($ws)[1];
|
||||||
$this->nrow = $maxRow - 1;
|
$this->nrow = $maxRow - 1;
|
||||||
|
$this->wroteHeaders = $maxRow > 1;
|
||||||
}
|
}
|
||||||
$this->ws = $ws;
|
$this->ws = $ws;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue