| @@ 771-773 (lines=3) @@ | ||
| 768 | $number[$parent] = 0; |
|
| 769 | } |
|
| 770 | ||
| 771 | if ($this->config->get('records.hideEmptyCategories') && 0 === $number[$parent] && '-' === $hasChild) { |
|
| 772 | continue; |
|
| 773 | } |
|
| 774 | ||
| 775 | if ($levelDiff > 1) { |
|
| 776 | $output .= '</li>'; |
|
| @@ 178-180 (lines=3) @@ | ||
| 175 | $number[$parent] = 0; |
|
| 176 | } |
|
| 177 | ||
| 178 | if ($this->_config->get('records.hideEmptyCategories') && 0 === $number[$parent] && '-' === $hasChild) { |
|
| 179 | continue; |
|
| 180 | } |
|
| 181 | ||
| 182 | if ($leveldiff > 1) { |
|
| 183 | $output .= '</li>'; |
|