| @@ 176-178 (lines=3) @@ | ||
| 173 | $number[$parent] = 0; |
|
| 174 | } |
|
| 175 | ||
| 176 | if ($this->_config->get('records.hideEmptyCategories') && 0 === $number[$parent] && '-' === $hasChild) { |
|
| 177 | continue; |
|
| 178 | } |
|
| 179 | ||
| 180 | if ($leveldiff > 1) { |
|
| 181 | $output .= '</li>'; |
|
| @@ 677-679 (lines=3) @@ | ||
| 674 | $number[$parent] = 0; |
|
| 675 | } |
|
| 676 | ||
| 677 | if ($this->_config->get('records.hideEmptyCategories') && 0 === $number[$parent] && '-' === $hasChild) { |
|
| 678 | continue; |
|
| 679 | } |
|
| 680 | ||
| 681 | if ($levelDiff > 1) { |
|
| 682 | $output .= '</li>'; |
|