Check for existing xf index in mapping array before accessing it
This commit is contained in:
parent
b636c56d7f
commit
3fc2fa47de
|
@ -3825,7 +3825,7 @@ class Xls extends BaseReader
|
|||
}
|
||||
}
|
||||
|
||||
if (!$this->readDataOnly && !$emptyCell) {
|
||||
if (!$this->readDataOnly && !$emptyCell && isset($this->mapCellXfIndex[$xfIndex])) {
|
||||
// add style information
|
||||
$cell->setXfIndex($this->mapCellXfIndex[$xfIndex]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue