diff --git a/vanilla/applications/vanilla/views/categories/helper_functions.php b/vanilla/applications/vanilla/views/categories/helper_functions.php index 8648128..43fcbae 100644 --- a/vanilla/applications/vanilla/views/categories/helper_functions.php +++ b/vanilla/applications/vanilla/views/categories/helper_functions.php @@ -204,7 +204,8 @@ function writeListItem($category, $depth) { + $show = false; + if ($show && $writeChildren === 'list'): ?>