Skip to content

Commit

Permalink
Fix undefined offset 15
Browse files Browse the repository at this point in the history
  • Loading branch information
guga-grigolia committed Jun 26, 2017
1 parent 8a65196 commit d2dca99
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Classes/PHPExcel/Reader/Excel5.php
Original file line number Diff line number Diff line change
Expand Up @@ -3541,7 +3541,9 @@ private function readColInfo()
$this->phpSheet->getColumnDimensionByColumn($i)->setVisible(!$isHidden);
$this->phpSheet->getColumnDimensionByColumn($i)->setOutlineLevel($level);
$this->phpSheet->getColumnDimensionByColumn($i)->setCollapsed($isCollapsed);
$this->phpSheet->getColumnDimensionByColumn($i)->setXfIndex($this->mapCellXfIndex[$xfIndex]);
if(isset($this->mapCellXfIndex[$xfIndex])){
$this->phpSheet->getColumnDimensionByColumn($i)->setXfIndex($this->mapCellXfIndex[$xfIndex]);
}
}
}
}
Expand Down

0 comments on commit d2dca99

Please sign in to comment.