mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-10-25 05:20:04 +00:00
Bugfix: When duplicating conditional styles, styles shifted by one column to the right
This commit is contained in:
@@ -1550,7 +1550,7 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
|
||||
// Loop through cells and apply styles
|
||||
for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) {
|
||||
for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) {
|
||||
$this->setConditionalStyles(PHPExcel_Cell::stringFromColumnIndex($col) . $row, $pCellStyle);
|
||||
$this->setConditionalStyles(PHPExcel_Cell::stringFromColumnIndex($col - 1) . $row, $pCellStyle);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user