| @@ 638-640 (lines=3) @@ | ||
| 635 | $number[$parent] = 0; |
|
| 636 | } |
|
| 637 | ||
| 638 | if ($this->_config->get('records.hideEmptyCategories') && 0 === $number[$parent] && '-' === $hasChild) { |
|
| 639 | continue; |
|
| 640 | } |
|
| 641 | ||
| 642 | if ($leveldiff > 1) { |
|
| 643 | $output .= '</li>'; |
|
| @@ 177-179 (lines=3) @@ | ||
| 174 | $number[$parent] = 0; |
|
| 175 | } |
|
| 176 | ||
| 177 | if ($this->_config->get('records.hideEmptyCategories') && 0 === $number[$parent] && '-' === $hasChild) { |
|
| 178 | continue; |
|
| 179 | } |
|
| 180 | ||
| 181 | if ($leveldiff > 1) { |
|
| 182 | $output .= '</li>'; |
|