Skip to content

Commit

Permalink
Add support for PHP >=7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
TZK- committed Sep 10, 2020
1 parent 39534e3 commit 449c17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/PHPExcel/Writer/Excel2007/Worksheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ private function writeAutoFilter(PHPExcel_Shared_XMLWriter $objWriter = null, PH
$objWriter->writeAttribute('ref', str_replace('$', '', $range));

$columns = $pSheet->getAutoFilter()->getColumns();
if (count($columns > 0)) {
if (count($columns) > 0) {
foreach ($columns as $columnID => $column) {
$rules = $column->getRules();
if (count($rules) > 0) {
Expand Down

0 comments on commit 449c17b

Please sign in to comment.