Skip to content

Commit e6b1ff2

Browse files
authored
Merge pull request #698 from topcoder-platform/issues-693
Issues-693: fixed nested categories
2 parents 3fab8d6 + 16edee6 commit e6b1ff2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vanilla/applications/vanilla/views/categories/helper_functions.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,8 @@ function writeListItem($category, $depth) {
204204
<?php } else { ?>
205205
<span class="MItem"></span>
206206
<?php };
207-
if ($writeChildren === 'list'): ?>
207+
$show = false;
208+
if ($show && $writeChildren === 'list'): ?>
208209
<div class="ChildCategories">
209210
<?php echo wrap(t('Child Categories').': ', 'b'); ?>
210211
<?php echo categoryString($children, $depth + 1); ?>

0 commit comments

Comments
 (0)