File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2121- Read printing area correctly when skipping some sheets - [ #371 ] ( https://github.com/PHPOffice/PhpSpreadsheet/issues/371 )
2222- Avoid incorrectly overwriting calculated value type - [ #394 ] ( https://github.com/PHPOffice/PhpSpreadsheet/issues/394 )
2323- Select correct cell when calling freezePane - [ #389 ] ( https://github.com/PHPOffice/PhpSpreadsheet/issues/389 )
24+ - ` setStrikethrough() ` did not set the font - [ #403 ] ( https://github.com/PHPOffice/PhpSpreadsheet/issues/403 )
2425
2526## [ 1.1.0] - 2018-01-28
2627
Original file line number Diff line number Diff line change @@ -484,8 +484,9 @@ public function setStrikethrough($pValue)
484484 if ($ pValue == '' ) {
485485 $ pValue = false ;
486486 }
487+
487488 if ($ this ->isSupervisor ) {
488- $ styleArray = $ this ->getStyleArray (['strike ' => $ pValue ]);
489+ $ styleArray = $ this ->getStyleArray (['strikethrough ' => $ pValue ]);
489490 $ this ->getActiveSheet ()->getStyle ($ this ->getSelectedCells ())->applyFromArray ($ styleArray );
490491 } else {
491492 $ this ->strikethrough = $ pValue ;
You can’t perform that action at this time.
0 commit comments