File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/PhpSpreadsheet/Worksheet Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -629,6 +629,7 @@ public function showHideRows()
629629 $ rules = $ filterColumn ->getRules ();
630630 switch ($ filterColumn ->getFilterType ()) {
631631 case AutoFilter \Column::AUTOFILTER_FILTERTYPE_FILTER :
632+ $ ruleType = null ;
632633 $ ruleValues = [];
633634 // Build a list of the filter value selections
634635 foreach ($ rules as $ rule ) {
@@ -700,7 +701,6 @@ public function showHideRows()
700701 $ ruleValues = [];
701702 // Build a list of the filter value selections
702703 foreach ($ rules as $ rule ) {
703- $ ruleType = $ rule ->getRuleType ();
704704 $ ruleValue = $ rule ->getValue ();
705705 if (!is_numeric ($ ruleValue )) {
706706 // Convert to a regexp allowing for regexp reserved characters, wildcards and escaped wildcards
You can’t perform that action at this time.
0 commit comments