| @@ 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>'; |
|
| @@ 661-663 (lines=3) @@ | ||
| 658 | $number[$parent] = 0; |
|
| 659 | } |
|
| 660 | ||
| 661 | if ($this->_config->get('records.hideEmptyCategories') && 0 === $number[$parent] && '-' === $hasChild) { |
|
| 662 | continue; |
|
| 663 | } |
|
| 664 | ||
| 665 | if ($leveldiff > 1) { |
|
| 666 | $output .= '</li>'; |
|