| @@ 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>'; |
|
| @@ 686-688 (lines=3) @@ | ||
| 683 | $number[$parent] = 0; |
|
| 684 | } |
|
| 685 | ||
| 686 | if ($this->_config->get('records.hideEmptyCategories') && 0 === $number[$parent] && '-' === $hasChild) { |
|
| 687 | continue; |
|
| 688 | } |
|
| 689 | ||
| 690 | if ($levelDiff > 1) { |
|
| 691 | $output .= '</li>'; |
|