This commit is contained in:
Dave Umrysh 2023-02-02 08:29:05 -07:00
parent 29eca5f71f
commit 5100e1112a

View File

@ -765,7 +765,7 @@ class PHPExcel_Writer_Excel2007_Worksheet extends PHPExcel_Writer_Excel2007_Writ
$objWriter->writeAttribute('ref', str_replace('$','',$range)); $objWriter->writeAttribute('ref', str_replace('$','',$range));
$columns = $pSheet->getAutoFilter()->getColumns(); $columns = $pSheet->getAutoFilter()->getColumns();
if (count($columns > 0)) { if (count($columns) > 0) {
foreach($columns as $columnID => $column) { foreach($columns as $columnID => $column) {
$rules = $column->getRules(); $rules = $column->getRules();
if (count($rules > 0)) { if (count($rules > 0)) {