Skip to content

Commit 1326e37

Browse files
authored
Update LoadSpreadsheet.php
1 parent 9e17357 commit 1326e37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PhpSpreadsheet/Reader/Xls/LoadSpreadsheet.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ protected function loadSpreadsheetFromFile2(string $filename, Xls $xls): Spreads
2727

2828
// Initialisations
2929
$xls->spreadsheet = new Spreadsheet();
30+
$xls->spreadsheet->setValueBinder($this->valueBinder);
3031
$xls->spreadsheet->removeSheetByIndex(0); // remove 1st sheet
3132
if (!$xls->readDataOnly) {
3233
$xls->spreadsheet->removeCellStyleXfByIndex(0); // remove the default style

0 commit comments

Comments
 (0)