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