Skip to content

Commit

Permalink
fullCalcOnLoad use int instead of bool
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkarex committed Feb 6, 2024
1 parent d9eb759 commit 78f1f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XlsxFastEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ public function setFullCalcOnLoad(int $sheetNumber, bool $value): void
}
}
if ($sheetCalcPr instanceof \DOMElement) {
$sheetCalcPr->setAttribute('fullCalcOnLoad', $value ? 'true' : 'false');
$sheetCalcPr->setAttribute('fullCalcOnLoad', $value ? '1' : '0');
$this->_touchWorksheet($sheetNumber);
}
}
Expand Down

0 comments on commit 78f1f7f

Please sign in to comment.